🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #772

Re: Pixel-based Dialog Editors?

#772
From: Edward J Kalenda
Date: Sat, 21 Nov 1992 21:21
29 lines
1881 bytes
From article <1992Nov20.192153.6355@ods.com>, by scott@ods.com (Scott Harper):
> Does anyone know of any dialog box editors that specify dialog
> templates in units of pixels rather that dialog base units?  We
> are trying to build some dialog boxes that have no text in them,
> but do contain some bitmap graphics.  When we specify things in
> terms of dialog base units, our pixel measurements come out messed
> up when we move to different resolution screens.
> 
> Also, with such a tool, we would need to be able to resource compile
> these templates "incrementally" into the standard resource files, as
> the application will include some dialog boxes and other resources
> defined in the standard way...

I've found that if I select the SYSTEM font at 10 points when defining the
dialog box I get two pixels per dialog unit at all resolutions from
640x480 and up. I don't know if this will remain consistant but it is
working for me at the moment. I think it will continue to work as long as
the pixel size of the 10 point system font doesn't change, which I would
not expect to happen.

Perhaps in some future release of windows Microsoft will add the ability
to define dialogs in terms of pixels. Tied to this ability we would also
need to be able to have resolution dependant dialogs. Sort of like icons
have different definitions depending upon CGA/VGA resolution and color/mono
modes.
-- 

Ed
ekalenda@netcom.COM
Technical Details
Message-ID: <1992Nov21.212151.19435@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!ekalenda
References: <1992Nov20.192153.6355@ods.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!ekalenda
From: ekalenda@netcom.com (Edward J Kalenda)
Subject: Re: Pixel-based Dialog Editors?
Message-ID: <1992Nov21.212151.19435@netcom.com>
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
References: <1992Nov20.192153.6355@ods.com>
Date: Sat, 21 Nov 1992 21:21:51 GMT
Lines: 29