TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Darryl Pierce
from: Dean Roddey
date: 1994-11-25 16:52:08
subject: Resizing a dialog

Thanks Darryl Pierce for your msg about Resizing a dialog, on
Saturday, 11-19-1994!

There are two different ways to approach this problem. For the most
part, you just need to watch for the WM_SIZE message in your main
dialog proc. When you get that, then you can resize any children to fit
(other than the frame controls.) This guy will give you the new and old
sizes.

If you want to have the frame controls be in non-standard positions,
then you get into a stickier situation. Let me know if that is what you
really want and I will post you some sample code to do it.

___
 X KWQ/2 1.2b X If at first you don't succeed, put out another version (KWQ 1.2).

--- Maximus/2 2.02

* Origin: Fernwood - your source for OS/2 files! (1:141/209)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 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™.