Re: Help with SystemParametersInfo call
- Posted by Pete Stoner <stoner.pete at ??ail.com> Nov 06, 2007
- 625 views
Bernie Ryan wrote: > > Pete Stoner wrote: > > > > > > Thanks Bernie, > > That would be easier - if it worked! it always returns 12 and 16 for the > > width > > and height with the fonts set to Normal or Large. I tried the hdc for both > > the > > window and for "Screen". It may return different values if the DPI is > > changed > > but I need to detect when the Font size is changed (in Display Properties -> > > Appearance, Font Size). > > > > Pete: > > One question, why aren't you using a status bar to display messages ?? > > Then you would have an easier job. > > Bernie > Bernie, The text I display is not a "message", but rather some important information that first lived along the top of the client area, but I needed to reduce the window size and it makes sense (and the users like it) to move it to the window title bar. PeteS