Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Dialog, Button PIXEL
Posted: Wed Oct 10, 2007 11:59 PM
Otto,
For some strange reason the units used for dialogs are not the same as those for windows (you may thank Microsoft for this). I guess this means they are really not pixels. Google "dialog units" if you interested in more info.
I find that if you divide the dialog units by 2.05 they are about the same as they would be for a window. You can do something like this to make it easier to read since you can still see the pixel equivalent values.
@ 125/2.05, 100/2.05 BTNBMP...PIXEL
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10