I am fairly new at programming and have recently been studying ownerdraw menus.
This code in DrawItem(LPDRAWITEMSTRUCT lpDIS) works fine in 98 or NT
but wont work with XP.
//////////
CDC *pDC = CDC::FromHandle(lpDIS->hDC);
CBrush redBrush(RGB(255, 0, 0));
CBrush blueBrush(RGB(0, 0, 255))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.