Nifield
02-19-2004, 12:27 PM
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.
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.