Highlighted

WM_DRAWITEM qwest

New Here ,
Aug 03, 2020

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?

Topics

Error or problem

Views

53

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

WM_DRAWITEM qwest

New Here ,
Aug 03, 2020

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?

Topics

Error or problem

Views

54

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
z9 LATEST
New Here ,
Aug 03, 2020

Copy link to clipboard

Copied

plugin theme.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...