Home | Info | Community | Development | myReactOS | Contact Us
[inline]
Reimplemented in ExtContextMenuHandlerT< OwnerDrawParent< DialogWindow > >, ExplorerAboutDlg, CtlColorParent< OwnerDrawParent< Dialog > >, StartMenuRoot, StartMenu, and DesktopBar.
Definition at line 630 of file window.h.
Referenced by OwnerDrawParent< Dialog >::WndProc().
{ switch(nmsg) { case WM_DRAWITEM: if (wparam) { // should there be drawn a control? HWND hctl = GetDlgItem(this->_hwnd, wparam); if (hctl) return SendMessage(hctl, PM_DISPATCH_DRAWITEM, wparam, lparam); } /*else // or is it a menu entry? ; */ return 0; default: return super::WndProc(nmsg, wparam, lparam); } }