#include <window.h>
Public Types | |
typedef BASE | super |
Public Member Functions | |
OwnerDrawParent (HWND hwnd) | |
LRESULT | WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam) |
Definition at line 606 of file window.h.
typedef BASE OwnerDrawParent< BASE >::super |
OwnerDrawParent< BASE >::OwnerDrawParent | ( | HWND | hwnd | ) | [inline] |
LRESULT OwnerDrawParent< BASE >::WndProc | ( | UINT | nmsg, | |
WPARAM | wparam, | |||
LPARAM | lparam | |||
) | [inline] |
Definition at line 613 of file window.h.
References PM_DISPATCH_DRAWITEM.
00614 { 00615 switch(nmsg) { 00616 case WM_DRAWITEM: 00617 if (wparam) { // should there be drawn a control? 00618 HWND hctl = GetDlgItem(this->_hwnd, wparam); 00619 00620 if (hctl) 00621 return SendMessage(hctl, PM_DISPATCH_DRAWITEM, wparam, lparam); 00622 } /*else // or is it a menu entry? 00623 ; */ 00624 00625 return 0; 00626 00627 default: 00628 return super::WndProc(nmsg, wparam, lparam); 00629 } 00630 }
IBrowser Source Code Documentation
generated on 18.09.2008 by |