Click here to Skip to main content
15,914,217 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Is it to return the address of an element in a vector Pin
Roger Stoltz29-Oct-08 0:39
Roger Stoltz29-Oct-08 0:39 
AnswerRe: Is it to return the address of an element in a vector Pin
Stuart Dootson29-Oct-08 4:13
professionalStuart Dootson29-Oct-08 4:13 
GeneralRe: Is it to return the address of an element in a vector Pin
followait29-Oct-08 5:01
followait29-Oct-08 5:01 
AnswerRe: Is it to return the address of an element in a vector Pin
Jürgen Jung5-Nov-08 22:08
Jürgen Jung5-Nov-08 22:08 
AnswerRe: Is it to return the address of an element in a vector Pin
Michael Dunn5-Dec-08 15:54
sitebuilderMichael Dunn5-Dec-08 15:54 
Questiona small question about STL naming convention Pin
followait27-Oct-08 16:51
followait27-Oct-08 16:51 
AnswerRe: a small question about STL naming convention Pin
Stuart Dootson27-Oct-08 23:57
professionalStuart Dootson27-Oct-08 23:57 
QuestionDoes IE forward WM_DISPLAYCHANGE Message to ATL Plugin Pin
chatko23-Oct-08 14:40
chatko23-Oct-08 14:40 
Hi I have an ATL plugin which needs to receive the "WM_DISPLAYCHANGE" message, when windows resolution changes.

I've added a handler as follows

class ATL_NO_VTABLE CWebPluginControl : 
	public CComObjectRootEx<ccomsinglethreadmodel>,
	public IDispatchImpl,
	public IPersistStreamInitImpl<cwebplugincontrol>,
	public IOleControlImpl<cwebplugincontrol>,
	public IOleObjectImpl<cwebplugincontrol>,
	public IOleInPlaceActiveObjectImpl<cwebplugincontrol>,
	public IViewObjectExImpl<cwebplugincontrol>,
	public IOleInPlaceObjectWindowlessImpl<cwebplugincontrol>,
	public ISupportErrorInfo,
	public IPersistStorageImpl<cwebplugincontrol>,
	public ISpecifyPropertyPagesImpl<cwebplugincontrol>,
	public IQuickActivateImpl<cwebplugincontrol>,
	public IDataObjectImpl<cwebplugincontrol>,
	public IProvideClassInfo2Impl<&CLSID_WebPluginControl, &DIID__IWebPluginControlEvents, &LIBID_WebPluginLib>,
	//public IProvideClassInfo2Impl<&CLSID_WebPluginControl, NULL , &LIBID_WebPluginLib>,
	public IObjectSafetyImpl<cwebplugincontrol,>,
	public IConnectionPointContainerImpl<cwebplugincontrol>,
	//public IConnectionPointImpl<cwebplugincontrol,__uuidof(_iwebplugincontrolevents)>,
	public IConnectionPointImpl<cwebplugincontrol,&diid__iwebplugincontrolevents>,
	public IPropertyNotifySinkCP<cwebplugincontrol>,
	public IPersistPropertyBagImpl<cwebplugincontrol>,
	public CComCoClass<cwebplugincontrol,>,
	public CComControl <cwebplugincontrol>,
	public CProxy_IWebPluginControlEvents<cwebplugincontrol>
...


CWebPluginControl();
~CWebPluginControl();

BEGIN_MSG_MAP(CWebPluginControl)
...
MESSAGE_HANDLER(WM_DISPLAYCHANGE, OnDisplayChange)
...</cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></cwebplugincontrol></ccomsinglethreadmodel>


But my OnDisplayFunction never gets hit when i change resolutions. So my question is, does IE(using IE 7) forward this message? If so why am I not able to pick it up?

Thanks for your time,

Chris
AnswerRe: Does IE forward WM_DISPLAYCHANGE Message to ATL Plugin Pin
Stuart Dootson23-Oct-08 21:25
professionalStuart Dootson23-Oct-08 21:25 
GeneralRe: Does IE forward WM_DISPLAYCHANGE Message to ATL Plugin Pin
chatko27-Oct-08 2:51
chatko27-Oct-08 2:51 
QuestionHow to Monitor "Internet explorer" ? Pin
mohamed hedi16-Oct-08 23:48
mohamed hedi16-Oct-08 23:48 
AnswerRe: How to Monitor "Internet explorer" ? Pin
Michael Dunn18-Oct-08 17:10
sitebuilderMichael Dunn18-Oct-08 17:10 
GeneralRe: How to Monitor "Internet explorer" ? Pin
mohamed hedi19-Oct-08 23:30
mohamed hedi19-Oct-08 23:30 
QuestionNever Created a ATL project from scratch on VC2003 - Manging COM ATL output files Pin
Stone Free16-Oct-08 6:12
Stone Free16-Oct-08 6:12 
AnswerRe: Never Created a ATL project from scratch on VC2003 - Manging COM ATL output files Pin
Stone Free16-Oct-08 6:32
Stone Free16-Oct-08 6:32 
QuestionRe: Never Created a ATL project from scratch on VC2003 - Manging COM ATL output files Pin
Stone Free16-Oct-08 6:49
Stone Free16-Oct-08 6:49 
QuestionReturning any HRESULT from FinalConstruct other than S_OK, results in client receiving REGDB_E_CLASSNOTREG Pin
Stone Free15-Oct-08 7:33
Stone Free15-Oct-08 7:33 
AnswerRe: Returning any HRESULT from FinalConstruct other than S_OK, results in client receiving REGDB_E_CLASSNOTREG Pin
Stuart Dootson15-Oct-08 10:09
professionalStuart Dootson15-Oct-08 10:09 
GeneralRe: Returning any HRESULT from FinalConstruct other than S_OK, results in client receiving REGDB_E_CLASSNOTREG Pin
Stone Free15-Oct-08 23:35
Stone Free15-Oct-08 23:35 
GeneralRe: Returning any HRESULT from FinalConstruct other than S_OK, results in client receiving REGDB_E_CLASSNOTREG Pin
Stuart Dootson16-Oct-08 2:57
professionalStuart Dootson16-Oct-08 2:57 
GeneralRe: Returning any HRESULT from FinalConstruct other than S_OK, results in client receiving REGDB_E_CLASSNOTREG Pin
Stone Free16-Oct-08 4:37
Stone Free16-Oct-08 4:37 
QuestionC#.net and VC++ Pin
balu1234514-Oct-08 7:23
balu1234514-Oct-08 7:23 
AnswerRe: C#.net and VC++ Pin
Stuart Dootson14-Oct-08 21:46
professionalStuart Dootson14-Oct-08 21:46 
QuestionIs it safe to use a iterator to keep a reference to an element in a container? Pin
followait10-Oct-08 17:34
followait10-Oct-08 17:34 
AnswerRe: Is it safe to use a iterator to keep a reference to an element in a container? Pin
Stuart Dootson11-Oct-08 7:44
professionalStuart Dootson11-Oct-08 7:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.