void SetToolTipCtrl(WXHWND hHwndTT) { m_hWndToolTip = hHwndTT; }
#endif // tooltips
+ void SetClient(WXHWND c_Hwnd);
+ void SetClient(wxWindow* c_Window);
+ wxWindow *GetClient();
+ HWND GetFrame(void) const { return m_hFrame; }
+
+ friend MRESULT EXPENTRY wxFrameWndProc(HWND hWnd,ULONG ulMsg, MPARAM wParam, MPARAM lParam);
+ friend MRESULT EXPENTRY wxFrameMainWndProc(HWND hWnd,ULONG ulMsg, MPARAM wParam, MPARAM lParam);
+
protected:
// common part of all ctors
void Init(void);
int m_nFsToolBarHeight;
bool m_bFsIsMaximized;
bool m_bFsIsShowing;
+ bool m_bIsShown;
+ wxWindow* m_pWinLastFocused;
private:
#if wxUSE_TOOLTIPS
#endif // tooltips
//
- // The main handle of a frame window, that used for message processing
- // is the client handle under PM. But we still need the frame handle
- // as well
+ // Handles to child windows of the Frame, and the frame itself,
+ // that we don't have child objects for (m_hWnd in wxWindow is the
+ // handle of the Frame's client window!
//
WXHWND m_hFrame;
-
- //
- // Handles to child windows of the Frame that we don't have child objects for
- //
WXHWND m_hTitleBar;
WXHWND m_hHScroll;
WXHWND m_hVScroll;
//
- // Swp structures for various client data
+ // Swp structures for various client data
// DW: Better off in attached RefData?
//
SWP m_vSwp;