Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
plugin theme.