Cannot subclass Shell Embedding
- From: "George" <gmontem@xxxxxxxxx>
- Date: 1 Apr 2005 14:37:12 -0800
Has anyone encountered problems subclassing the "Shell Embedding"
window? I receive a failed assertion everytime I try to subclass it,
yet I have no problems subclassing its child window "Shell DocObjet
View". The assertion fails inside the line below [ wincore.cpp file,
CWnd::Attach() method ]:
ASSERT(FromHandlePermanent(hWndNew) == NULL);
hWndNew is the window handle of the "Shell Embedding" window.
Of course I would rather subclass "Shell Embedding" instead of "Shell
DocObject View" because the latter does not receive any of the moveTo()
and moveBy() notifications. Btw, I'm using MFC's CHtmlView, and
apparently I can subclass "Shell Embedding" with a release build.
However I prefer being able to debug my source code with Visual
Studio's debugger.
Many Thanks!
George
.
- Follow-Ups:
- Re: Cannot subclass Shell Embedding
- From: Cristian Amarie
- Re: Cannot subclass Shell Embedding
- Prev by Date: How to bypass cross domain security checking?
- Next by Date: Re: Cannot subclass Shell Embedding
- Previous by thread: How to bypass cross domain security checking?
- Next by thread: Re: Cannot subclass Shell Embedding
- Index(es):
Relevant Pages
|