PDA

View Full Version : Need programming help badly


Nifield
02-20-2004, 06:27 AM
Hey guys, my programmer has run into a major snag and i was hoping one of you could help. Heres his question:

Using the IE OCX Plugin for MFC (microsoft foundation classes):

trying to change IE ocx ambient properties on the fly however IE ambient properties only change when IE is started but i believe that the the COLE class is able to send a ambient hit request to IE via this:



//int hr;
IOleControl* pControl;

//hr = m_webassist->QueryInterface(IID_IOleControl, (void**)&pControl);
pControl->OnAmbientPropertyChange(DISPID_AMBIENT_DLCONTROL);
pControl->Release();


i need to be able to send a notify request to IE about ambient change i think im on the right track there

however DS (dreamsubmitter) is a container which controls all ambient props for IE

this is the class in DS (dreamsubmitter) that processes the ambient request on start up i need to be able to renotify the class


BOOL CPowerTGPDlgPropPage6::OnAmbientProperty(COleContr olSite* pSite, DISPID dispid, VARIANT* pvar)
{


fuck if i can only find the answer going nuts

i tried PostMessage to local class but no difference


Any help would be greatly appreciated thanks.
Nifield.

Vvash
02-20-2004, 11:41 AM
i think i just had an aneurysm from reading that

Doula Doom
02-20-2004, 12:49 PM
I tried to translate it but the translation machine cant login to this page

Lithrien
02-20-2004, 07:44 PM
42