>From Spy++, mozilla creates MozillaContentWindowClass, its child
MozillaWindowClass, its grandchild MozillaWindowClass.
Three levels of windows.

I am calling SetWindowPos () against HWND from nsIBaseWindow-
>GetMainWidget(), nsIWidget->GetNativeData(NS_NATIVE_WINDOW), which is
MozillaContentWindowClass.
WM_SIZE and WM_WINDOWPOSCHANGED are generated.
This call does not work.
Its child MozillaWindowClass does not receive those messages.

However, browser resizes correctly when its child window
(MozillaWindowClass) receives WM_SIZE/WM_WINDOWPOSCHANGED according to
Spy++.

Should I look for child window of nsIBaseWindow (MozillaWindowClass)
and use SetWindowPos () via EnumChildWindows ()/GetWindow(GW_CHILD) ?
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to