Changeset 100 for trunk/src/gui/kernel/qapplication_pm.cpp
- Timestamp:
- Aug 6, 2009, 2:24:58 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qapplication_pm.cpp
r99 r100 205 205 *****************************************************************************/ 206 206 207 Q_GUI_EXPORT HPS qt_display_ dc()207 Q_GUI_EXPORT HPS qt_display_ps() 208 208 { 209 209 Q_ASSERT(qApp && qApp->thread() == QThread::currentThread()); … … 424 424 MRESULT EXPENTRY QtWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 425 425 { 426 // @todo implement 427 return FALSE; 426 // message handling indicators: if handled is true at the end of message 427 // processing, no default window proc is called but rc is returned. 428 bool handled = false; 429 MRESULT rc = (MRESULT) FALSE; 430 QETWidget *widget = 0; 431 HWND hwndC = NULLHANDLE; 432 433 do { 434 switch(msg) { 435 default: 436 break; 437 } 438 if (handled) 439 return rc; 440 } while(0); 441 442 return WinDefWindowProc(hwnd, msg, mp1, mp2); 428 443 } 429 444 … … 432 447 MRESULT EXPENTRY QtFrameProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 433 448 { 434 // @todo implement 435 return FALSE; 449 // message handling indicators: if handled is true at the end of message 450 // processing, no default window proc is called but rc is returned. 451 bool handled = false; 452 MRESULT rc = (MRESULT) FALSE; 453 QETWidget *widget = 0; 454 HWND hwndC = NULLHANDLE; 455 456 do { 457 switch(msg) { 458 default: 459 break; 460 } 461 if (handled) 462 return rc; 463 } while(0); 464 465 return QtOldFrameProc(hwnd, msg, mp1, mp2); 436 466 } 437 467
Note:
See TracChangeset
for help on using the changeset viewer.