Re: Popup -> javascript resizeTo -> any webbrowser resize event?



"Thomas Kluge" <T.Kluge@xxxxxxxxxxxxx> wrote in message
news:%23WFsdzseIHA.2000@xxxxxxxxxxxxxxxxxxxx
I have a slightly different model using the Webrowser Control in an
MFC Dialog and CWnd as a member variable.
I think this is similar to subclassing the window
(IOleWindow->GetWindow()).
Anyway, I get an initial WM_WINDOWPOSCHANGING but not at the time of
the resizeTo function.

Well, the technique works for me. Must be something in your specific
setup. I'm afraid I don't know MFC enough to be able to help you here.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: FromHandle purpose with DCs and GDI objects
    ... >>object in the handle map overwriting the existing one if there is one. ... I'm not sure what difference is between Attach CWnd, ... one of the standard MFC collection classes. ... MFC keeps the temporary and permanent window handle map in thread local ...
    (microsoft.public.vc.mfc)
  • Registering a CWnd class
    ... Can some one help me register a windows class for an MFC CWnd object, ... I plan on using the window to display ... instead of a pointer to a WNDCLASS object, ...
    (microsoft.public.vc.mfc)
  • RE: win application and ctfmon conflict
    ... GetModuleHandle returns the module handle instead the window handle, ... GetSafeHwnd to retrieve the HWND if CWnd attached to a window handle. ... Simply using MFC class in a non-mfc program will give a lot of pain. ...
    (microsoft.public.win32.programmer.kernel)
  • RE: win application and ctfmon conflict
    ... GetModuleHandle returns the module handle instead the window handle, ... GetSafeHwnd to retrieve the HWND if CWnd attached to a window handle. ... Simply using MFC class in a non-mfc program will give a lot of pain. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Popup -> javascript resizeTo -> any webbrowser resize event?
    ... I think this is similar to subclassing the window ... I'm afraid I don't know MFC enough to be able to help you here. ... IHTMLOMWindowServices interface that is called when script calls the ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)