src/windows/native/sun/windows/awt_Frame.h

Print this page




 128     // returns true if the frame is inputmethod window
 129     INLINE BOOL isInputMethodWindow() { return m_isInputMethodWindow; }
 130     // adjusts the IME candidate window position if needed
 131     void AdjustCandidateWindowPos();
 132 
 133     // invoked on Toolkit thread
 134     static jobject _GetBoundsPrivate(void *param);
 135 
 136     // some methods called on Toolkit thread
 137     static void _SetState(void *param);
 138     static jint _GetState(void *param);
 139     static void _SetMaximizedBounds(void *param);
 140     static void _ClearMaximizedBounds(void *param);
 141     static void _SetMenuBar(void *param);
 142     static void _SetIMMOption(void *param);
 143     static void _SynthesizeWmActivate(void *param);
 144     static void _NotifyModalBlocked(void *param);
 145 
 146     virtual void Reshape(int x, int y, int width, int height);
 147 
 148     virtual BOOL AwtSetActiveWindow(BOOL isMouseEventCause = FALSE, UINT hittest = HTCLIENT);
 149 
 150     void CheckRetainActualFocusedWindow(HWND activatedOpositeHWnd);
 151     BOOL CheckActivateActualFocusedWindow(HWND deactivatedOpositeHWnd);
 152 
 153     INLINE HWND GetImeTargetComponent() { return m_imeTargetComponent; }
 154     INLINE void SetImeTargetComponent(HWND hwnd) { m_imeTargetComponent = hwnd; }
 155 
 156 protected:
 157     /* The frame is undecorated. */
 158     BOOL m_isUndecorated;
 159 
 160 private:
 161     LRESULT ProxyWindowProc(UINT message, WPARAM wParam, LPARAM lParam, MsgRouting &mr);
 162 
 163     /* The frame's embedding parent (if any) */
 164     HWND m_parentWnd;
 165 
 166     /* The frame's menubar. */
 167     AwtMenuBar* menuBar;
 168 




 128     // returns true if the frame is inputmethod window
 129     INLINE BOOL isInputMethodWindow() { return m_isInputMethodWindow; }
 130     // adjusts the IME candidate window position if needed
 131     void AdjustCandidateWindowPos();
 132 
 133     // invoked on Toolkit thread
 134     static jobject _GetBoundsPrivate(void *param);
 135 
 136     // some methods called on Toolkit thread
 137     static void _SetState(void *param);
 138     static jint _GetState(void *param);
 139     static void _SetMaximizedBounds(void *param);
 140     static void _ClearMaximizedBounds(void *param);
 141     static void _SetMenuBar(void *param);
 142     static void _SetIMMOption(void *param);
 143     static void _SynthesizeWmActivate(void *param);
 144     static void _NotifyModalBlocked(void *param);
 145 
 146     virtual void Reshape(int x, int y, int width, int height);
 147 
 148     virtual BOOL AwtSetActiveWindow(UINT hittest = HTCLIENT);
 149 
 150     void CheckRetainActualFocusedWindow(HWND activatedOpositeHWnd);
 151     BOOL CheckActivateActualFocusedWindow(HWND deactivatedOpositeHWnd);
 152 
 153     INLINE HWND GetImeTargetComponent() { return m_imeTargetComponent; }
 154     INLINE void SetImeTargetComponent(HWND hwnd) { m_imeTargetComponent = hwnd; }
 155 
 156 protected:
 157     /* The frame is undecorated. */
 158     BOOL m_isUndecorated;
 159 
 160 private:
 161     LRESULT ProxyWindowProc(UINT message, WPARAM wParam, LPARAM lParam, MsgRouting &mr);
 162 
 163     /* The frame's embedding parent (if any) */
 164     HWND m_parentWnd;
 165 
 166     /* The frame's menubar. */
 167     AwtMenuBar* menuBar;
 168