|
-
Dec 8th, 2016, 11:13 AM
#11
Re: Resizeable VB6 UserForms (and Unicode Form Captions)
 Originally Posted by DEXWERX
MonitorFromWindow with MONITOR_DEFAULTTONEAREST gets a handle to closest monitor
and then use GetMonitorInfo to get the working rect of that particular monitor (rcWork).
then you can use those coordinates for centering/clipping and calculating percentages.
 Originally Posted by DEXWERK
disappearing monitors is an everyday occurrence.
luckily all the apps i use respond to WM_DISPLAYCHANGE
Do you have a sample for this?
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
|