Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Automating Excel without MFC Pin
Giles10-Oct-02 8:48
Giles10-Oct-02 8:48 
QuestionCheck date modified http request? Pin
dazinith10-Oct-02 6:11
dazinith10-Oct-02 6:11 
AnswerRe: Check date modified http request? Pin
Paul M Watt10-Oct-02 6:17
mentorPaul M Watt10-Oct-02 6:17 
GeneralRe: Check date modified http request? Pin
dazinith10-Oct-02 8:00
dazinith10-Oct-02 8:00 
Generalcombobox that disappears over a listcontrol... Pin
Joan M10-Oct-02 5:52
professionalJoan M10-Oct-02 5:52 
GeneralRe: combobox that disappears over a listcontrol... Pin
Roger Allen10-Oct-02 6:14
Roger Allen10-Oct-02 6:14 
GeneralRe: combobox that disappears over a listcontrol... Pin
Joan M10-Oct-02 6:30
professionalJoan M10-Oct-02 6:30 
GeneralDisplay Transparent AVI Pin
Brigg Thorp10-Oct-02 5:49
Brigg Thorp10-Oct-02 5:49 
OK guys...I'm trying to display an AVI file on my dialog with a transparent background and I'm not having any luck,

I made an AVI file with a white background on each clip. I have an animation control on my dialog and I have both transparent properties set. When I go to play the AVI, I still see the white background.

Here is the function to create the control:
HWND CreateAnimationCtrl(HWND hwndDlg, int nIDCtl) 
{ 
  HWND hwndAnim = NULL; 
  RECT rc; 
  POINT pt; 
	
  // Create the animation control. 
  hwndAnim = Animate_Create(hwndDlg, IDC_ANIMATE, WS_CHILD, ghInst); 
	
  // Open the AVI clip, and show the animation control. 
  Animate_Open(hwndAnim, MAKEINTRESOURCE(IDR_AVI)); 
  ShowWindow(hwndAnim, SW_SHOW); 
	
  return hwndAnim; 
} 


Here is what I call in the WM_INITDIALOG routine:
hAnim = CreateAnimationCtrl(hDlg, IDC_ANIMATE);
Animate_Play(hAnim, 0, -1, -1);

Do I have to do something special to the AVI as well?

Any help would be greatly appreciated.

Brigg Thorp
Software Engineer
Timex Corporation
GeneralRe: Display Transparent AVI Pin
Daniel Strigl10-Oct-02 20:17
Daniel Strigl10-Oct-02 20:17 
General::CreateFileMapping Pin
Abin10-Oct-02 5:35
Abin10-Oct-02 5:35 
GeneralRe: ::CreateFileMapping Pin
Daniel Turini10-Oct-02 5:34
Daniel Turini10-Oct-02 5:34 
GeneralRe: ::CreateFileMapping Pin
Abin10-Oct-02 5:47
Abin10-Oct-02 5:47 
GeneralRe: ::CreateFileMapping Pin
Daniel Turini10-Oct-02 5:55
Daniel Turini10-Oct-02 5:55 
GeneralRe: ::CreateFileMapping Pin
Paul M Watt10-Oct-02 6:21
mentorPaul M Watt10-Oct-02 6:21 
GeneralRe: ::CreateFileMapping Pin
Abin10-Oct-02 7:29
Abin10-Oct-02 7:29 
GeneralRe: ::CreateFileMapping Pin
Joe Woodbury10-Oct-02 7:42
professionalJoe Woodbury10-Oct-02 7:42 
QuestionWhere did the crash happen? Pin
User 665810-Oct-02 5:27
User 665810-Oct-02 5:27 
AnswerRe: Where did the crash happen? Pin
Daniel Turini10-Oct-02 5:30
Daniel Turini10-Oct-02 5:30 
GeneralRe: Where did the crash happen? Pin
User 665810-Oct-02 5:59
User 665810-Oct-02 5:59 
GeneralRe: Where did the crash happen? Pin
Daniel Turini10-Oct-02 6:03
Daniel Turini10-Oct-02 6:03 
AnswerRe: Where did the crash happen? Pin
Paul M Watt10-Oct-02 6:42
mentorPaul M Watt10-Oct-02 6:42 
GeneralRe: Where did the crash happen? Pin
User 665810-Oct-02 6:50
User 665810-Oct-02 6:50 
GeneralRe: Where did the crash happen? Pin
Paul M Watt10-Oct-02 7:46
mentorPaul M Watt10-Oct-02 7:46 
GeneralIt has been a privilege... Pin
Georg Haan10-Oct-02 5:19
Georg Haan10-Oct-02 5:19 
GeneralRe: It has been a privilege... Pin
Daniel Turini10-Oct-02 5:20
Daniel Turini10-Oct-02 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.