Re: getFontDialog
- Posted by Dan Moyer <danielmoyer at prodigy?net> Nov 23, 2007
- 630 views
Windows XP Home Edition, Version 5.1.2600 Service Pack 2 : For what it might be worth, these are the results I get using Win32Lib ModVersion: 0.60.6 11/July/2005 (at least, I *think* that's the version I'm using; I wonder if there is a good way to PROGRAMMATICALLY interrogate the included Win32Lib for its version #, being as there isn't a VARIABLE named: "version" in it?) "Arial", "Bold" and 14 yields: Arial, button:bold, dialog report:REGULAR, and 14; (note: the BUTTON actually BECOMES BOLD, but the dialog SAYS it's "Regular") "Arial", "Bold" and 15 yields: Arial, button:bold, dialog report:REGULAR, and 15; (same note as above) SUMMARY: up to *15* SIZE is implemented correctly on button and reported same in dialog, and STYLE is implemented correctly on button but NOT reported correctly in dialog after clicking button again. ------------------------------------------ "Arial", "Bold" and 16 yields: Arial, button:bold, dialog report:REGULAR, and 17; (same note as above) "Arial", "Bold" and 24 yields Arial, button:bold, dialog report:REGULAR, and 25; (same note as above) SUMMARY: at and at least for some above 16, SIZE is wrongfully INCREMENTED by one for both implementation on button and report in dialog, and STYLE is again implemented correctly on button, but NOT reported correctly in dialog. Note about button/dialog variance: when I SELECT "bold", the dialog initially INDICATES "bold"; on "ok", the button now SHOWS in BOLD, but when CLICKED on again, the dialog NOW SAYS "regular", and if "ok" clicked, the button will display in regular. Dan Moyer