< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Toolkit.h

Print this page




 368     INLINE void StopMessagePump() { m_breakOnError = TRUE; }
 369 
 370     /* Debug settings */
 371     INLINE void SetVerbose(long flag)   { m_verbose = (flag != 0); }
 372     INLINE void SetVerify(long flag)    { m_verifyComponents = (flag != 0); }
 373     INLINE void SetBreak(long flag)     { m_breakOnError = (flag != 0); }
 374     INLINE void SetHeapCheck(long flag);
 375 
 376     static void SetBusy(BOOL busy);
 377 
 378     /* Set and get the default input method Window handler. */
 379     INLINE void SetInputMethodWindow(HWND inputMethodHWnd) { m_inputMethodHWnd = inputMethodHWnd; }
 380     INLINE HWND GetInputMethodWindow() { return m_inputMethodHWnd; }
 381 
 382     static VOID CALLBACK PrimaryIdleFunc();
 383     static VOID CALLBACK SecondaryIdleFunc();
 384     static BOOL CALLBACK CommonPeekMessageFunc(MSG& msg);
 385     static BOOL activateKeyboardLayout(HKL hkl);
 386 
 387     HANDLE m_waitEvent;
 388     DWORD eventNumber;

 389 private:
 390     HWND CreateToolkitWnd(LPCTSTR name);
 391 
 392     BOOL m_localPump;
 393     DWORD m_mainThreadId;
 394     HWND m_toolkitHWnd;
 395     HWND m_inputMethodHWnd;
 396     BOOL m_verbose;
 397     BOOL m_isActive; // set to FALSE at beginning of Dispose
 398     BOOL m_isDisposed; // set to TRUE at end of Dispose
 399     BOOL m_areExtraMouseButtonsEnabled;
 400 
 401     BOOL m_vmSignalled; // set to TRUE if QUERYENDSESSION has successfully
 402                         // raised SIGTERM
 403 
 404     BOOL m_verifyComponents;
 405     BOOL m_breakOnError;
 406 
 407     BOOL  m_breakMessageLoop;
 408     UINT  m_messageLoopResult;




 368     INLINE void StopMessagePump() { m_breakOnError = TRUE; }
 369 
 370     /* Debug settings */
 371     INLINE void SetVerbose(long flag)   { m_verbose = (flag != 0); }
 372     INLINE void SetVerify(long flag)    { m_verifyComponents = (flag != 0); }
 373     INLINE void SetBreak(long flag)     { m_breakOnError = (flag != 0); }
 374     INLINE void SetHeapCheck(long flag);
 375 
 376     static void SetBusy(BOOL busy);
 377 
 378     /* Set and get the default input method Window handler. */
 379     INLINE void SetInputMethodWindow(HWND inputMethodHWnd) { m_inputMethodHWnd = inputMethodHWnd; }
 380     INLINE HWND GetInputMethodWindow() { return m_inputMethodHWnd; }
 381 
 382     static VOID CALLBACK PrimaryIdleFunc();
 383     static VOID CALLBACK SecondaryIdleFunc();
 384     static BOOL CALLBACK CommonPeekMessageFunc(MSG& msg);
 385     static BOOL activateKeyboardLayout(HKL hkl);
 386 
 387     HANDLE m_waitEvent;
 388     volatile DWORD eventNumber;
 389     volatile BOOL isInDoDragDropLoop;
 390 private:
 391     HWND CreateToolkitWnd(LPCTSTR name);
 392 
 393     BOOL m_localPump;
 394     DWORD m_mainThreadId;
 395     HWND m_toolkitHWnd;
 396     HWND m_inputMethodHWnd;
 397     BOOL m_verbose;
 398     BOOL m_isActive; // set to FALSE at beginning of Dispose
 399     BOOL m_isDisposed; // set to TRUE at end of Dispose
 400     BOOL m_areExtraMouseButtonsEnabled;
 401 
 402     BOOL m_vmSignalled; // set to TRUE if QUERYENDSESSION has successfully
 403                         // raised SIGTERM
 404 
 405     BOOL m_verifyComponents;
 406     BOOL m_breakOnError;
 407 
 408     BOOL  m_breakMessageLoop;
 409     UINT  m_messageLoopResult;


< prev index next >