1. Shortened text - win32lib large fonts problem?
- Posted by petelomax at blueyonder.co.uk Jan 13, 2002
- 381 views
I've noticed this in more than enough places by now to wonder. Example: Judith's IDE, Configuration, Clicking Outside IDE Behaviour: "another application" is guesswork; only the top 30% of this shows. "... any stray windows le" is all I get to read on the next line. Win98, 1024x768 Hicolor(16bit), Large Fonts (15" screen). -- Excuse me a mo, I'll reboot to see what small fonts look like. Yep, that's it. For info then, a lot of programs don't display properly if large fonts are selected (right click on desktop background, properties, settings, advanced, general). Suppose I should invest in a 19" monitor... Pete
2. Re: Shortened text - win32lib large fonts problem?
- Posted by Wolf <wolfritz at KING.IGS.NET> Jan 13, 2002
- 369 views
> Yep, that's it. For info then, a lot of programs don't display > properly if large fonts are selected (right click on desktop > background, properties, settings, advanced, general). > > Suppose I should invest in a 19" monitor... The size of the monitor ? No ! The static sizes of win32lib controls do not dynamically change if you've selected large fonts as your WIN default. This is even worse for lists, which may attempt to resize, but aren't given enuf room to expand, so they 'bleed' over the control below. You'll have to blame this on the programmer
3. Re: Shortened text - win32lib large fonts problem?
- Posted by Euman <euman at bellsouth.net> Jan 13, 2002
- 382 views
Hello, Here is an example that will retrieve the font size currently set by the user. hdc = GetDC(NULL) --Get DC for screen iDPI = GetDeviceCaps(hdc, LOGPIXELSX) ReleaseDC(NULL, hdc) Also, take a look at my clock demo on the user-contrib page. This shows an alternative to obtain the measurment that could be used to set the XY axis of any control based on user set font sizes. Be carefull 'cause this is a generalized routine. poke4(pt,0) poke4(pt+4,0) junk = c_func(xClientToScreen,{hwnd, pt}) x = peek4s(pt) y = peek4s(pt+4) c_proc(GetWindowRect, {hwnd,rect}) x -= peek4s(rect_Left) y -= peek4s(rect_Top) Basic stuff ! Euman euman at bellsouth.net ----- Original Message ----- From: "Wolf" <wolfritz at KING.IGS.NET> > > Yep, that's it. For info then, a lot of programs don't display > > properly if large fonts are selected (right click on desktop > > background, properties, settings, advanced, general). > > > > Suppose I should invest in a 19" monitor... > > The size of the monitor ? No ! > The static sizes of win32lib controls do not dynamically change if you've > selected large fonts as your WIN default. > This is even worse for lists, which may attempt to resize, but aren't given > enuf room to expand, so they 'bleed' over the control below. > You'll have to blame this on the programmer