Skip to main content
Participant
August 3, 2020
Question

WM_DRAWITEM qwest

  • August 3, 2020
  • 1 reply
  • 260 views

hi, i tryed add some color for items to a listbox, CreateWindow(
TEXT("LISTBOX"), TEXT(""),
WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | LBS_OWNERDRAWVARIABLE,
rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, parent,
NULL, hInstance, NULL); But found problem catch WM_DRAWITEM system message, did is as SetWindowLongPtr(platformWindowRef, GWLP_WNDPROC, (LONG_PTR)myClass::WindowProc); where am i wrong? may help me?

This topic has been closed for replies.

1 reply

z986_2Author
Participant
August 3, 2020

plugin theme.