|
-
September 8th, 2022, 02:19 PM
#2
Re: How to create custom trackbar control appearance(channel,thumb) using Custom Draw
Well, MFC is just a wrapper around the plain Win32 API. So you could slightly modify the code from https://www.codeproject.com/Articles...rCtrl-Using-Cu removing the MFC parts and/or change it to raw Win32.
For instance the code in
Code:
void CCustomDrawSliderCtrl::OnReflectedCustomDraw(NMHDR* pNMHDR, LRESULT* pResult)
after some changes you could place in your CALLBACK WndProc under the case of
Code:
if (lpNmhdr->code == NM_CUSTOMDRAW)
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|