Last updated:
22. July 2001
(Start sub-menu)
User Interface Programming Column
Splitter Controls and Dialog Resizing
(End sub-menu)
// // WaitCurs.cpp: Implementation // … #include "WaitCurs.h" WaitCursor::~WaitCursor() // Forces a WM_SETCURSOR message. { CPoint pt; // Screen coordinates! #ifdef _WIN32 if ( !::GetCursorPos(&pt) ) TRACE0( "WaitCursor::~WaitCursor(): GetCursorPos Failed\n" ); else if ( !::SetCursorPos( pt.x, pt.y ) ) TRACE2( "WaitCursor::~WaitCursor(): " "SetCursorPos(%d,%d) Failed\n", pt.x, pt.y ); #else // Win16 ::GetCursorPos( &pt ); ::SetCursorPos( pt.x, pt.y ); #endif } // end of file
(Start bottom menu)
Top •
Home
• Articles
• Book
• Resources
Windows Developer Magazine
• R&D Books
• CMP Books
Amazon.com
• Amazon.co.uk
• Contact Petter Hesselberg
(End bottom menu)