Sorry, I know this is a old post. This code is working perfectly!
There was no need for me to subclass the main dialog as my project is a win32 GUI project, so quite simply performing the changes in MainDlgProc was enough to point to my control handles.
Finally a solution! Big thank you.
I plan to implement the following:
- Invalidate control handles upon resize (remove artifacts)
- Dynamically resize controls
- Custom draw 3 ••• for drag indication (vertical & horizontal)
Will post my changes to a new topic, and reference back to this topic.
Cheers!