TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Jeffrey habets
date: 1997-03-21 16:48:02
subject: Dialog and control windows observations

Hi All,

I've noticed a strange thing with dialogs and their controls.

Normaly, if a font is dropped on a dialog, all it's control windows are
affected by that and also receive a WM_PRESPARAMCHANGED indicating that a
font was dropped.

However, if I specify non-default background or foreground colors for the
controls in the dialog resource (using PRESPARAMS keyword), the control window
doesn't seem to get notified anymore when his parent receives a font-drop.
I'll have to explicitely drop the font on the control to get it to accept the
font.

Have I found a PM bug? Or am I missing something..

==========================================================================
* Greetz from Maastricht/The Netherlands, Jeffrey
* Home: www.xs4all.nl/~jeffh    email: jeffh{at}xs4all.nl / Fido: 2:284/312.3
* PM Timer/2 - Keep an eye on that ever growing phone bill !!

---
* Origin: Why Windows? Simply switch of your Turbo.. (2:284/312)
SEEN-BY: 50/99 54/99 270/101 620/243 625/155 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 284/312 3 5 280/801 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.