🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools
2 messages
2 total messages Started by Scott Harper Fri, 20 Nov 1992 19:21
Pixel-based Dialog Editors?
#768
Author: Scott Harper
Date: Fri, 20 Nov 1992 19:21
15 lines
1130 bytes
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...
-- 
Scott Harper                       Optical Data Systems, Inc.
scott@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081
Re: Pixel-based Dialog Editors?
#772
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads