I have a Modeless dialog which is showing a animated progress bar by playing an avi file(soundless). Actually whenever i am exporting any file i have to display this progress bar as a part of modeless dialog. The problem which i am facing is, just after poping this dialog the avi file is not playing and when i am draging the dialog by a bit, it start playing.
I tried to get rid of this problem by moving dialog programatticly. I am doing all my programming in win32.
Here is the part of the code where i am creating the animation.
void DoAnimation(HWND hwndAnim, int nAction)
{
switch (nAction) {
case PLAYIT:
// Play the clip continuously starting with the
// first frame.
Animate_Play(hwndAnim, 0, -1, -1);
break;
case STOPIT:
Animate_Stop(hwndAnim);
break;
case CLOSEIT:
Animate_Close(hwndAnim);
break;
default:
break;
}
return;
}
I have attached the avi file. Quick responce are most welcome....
Last edited by dverma05; March 24th, 2010 at 08:42 AM.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.