CAnimateCtrl PLAY and STOP members not functioning
pierardi@pumatech.com
Tuesday, August 06, 1996
Environment: MSVC++ 4.1 Win95, NT 4.0
MFC Class: CAnimateCtrl
I'm trying to run an AVI using the CAnimateCtrl object.
The Play() member function has UINT parameters. Yet, the docs state
that MFC allows values of -1 to denote playing the AVI from start to
finish and then repeat. Casting to (int) and sending a -1 value in
does not appear to work. Any ideas ?
The Stop() member function does appear to work either. Is this
dependent upon the Play() function to have been called first and not
AUTOPLAY ?
The only way I can get the AVI to play is to Create() the ctrl with
the AUTOPLAY config flag and then Open() the AVI.
Also, does anyone know where I can get the flying folders AVI used by
MS in the file-copy dialog under Win95 ? ...or which component has it
stored as a resource ?
Peter Ierardi
ppbillc@srv2.sj.ablecom.net
Friday, August 09, 1996
[Mini-digest: 2 responses]
Casting to (int) and sending a -1 value in
> does not appear to work. Any ideas ?
don't cast to an int ffffffff is -1
B
/ \
* *
\ _,-._/
-----From: "Gary Capps"
They are in Shell32.dll in a resource group called "AVI". The "flying
folders" are ID's 160 & 161.
---
gc
Norman, Oklahoma
| Вернуться в корень Архива
|