-
January 8th, 2008, 07:44 AM
#1
add flash into a richedit control
Hi,
I'm trying to add flash into a richedit control via InsertObject method of IRichEditOle interface, i'm creating the flash using :
CoCreateInstance( CLSID_ShockwaveFlash , NULL , CLSCTX_INPROC_SERVER , IID_IShockwaveFlash , (void**) &pSwf);
after that i'm getting the interface for IOleObject using :
pSwf->QueryInterface(IID_IOleObject, (void**)&pObject);
now setting some params of the flash and the IOleObject i'm using InsertObject() method to insert the flash object to the richedit.
every thing seems to work well: the flash object gets inside the richedit, the problem is that i can't play the flash (All i see is a black squre) does any one have any idea what can be the problem???
thx is advance
ishay
-
January 9th, 2008, 08:46 AM
#2
Re: add flash into a richedit control
Does your flash object work fine out of richedit, I mean beng child of any other window ?
Kindly post the code that you used to create it, so that helpers try digging out after seeing the code.
regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|