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

55

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

56

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
Aug 03, 2020 0
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...
Aug 03, 2020 0