🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2154

Positioning a Dialog Box

#2154
From: Kevin Owen
Date: Wed, 17 Apr 1991 00:09
14 lines
1173 bytes
How can I display a dialog box at a position that I specify at run time?  It
seems that the dialog editor hard codes an X and Y location.  Is there any
way to override these values?  Word for Windows and other windows apps 
display dialog boxes centered on the screen.  How do they do that??

Regards,

_______________________________________________________________________________

 _   ,                   __                 Kevin Owen @ Hewlett-Packard
' ) /                   / ')                Sunnyvale, California
 /-<   _ , __o  ____   /  / , , , _  ____   Phone :    (408) 720-3845
/   ) </_\/ <__/ / <  (__/ (_(_/_</_/ / <_  UN*X Mail  ...hplabs!hpcc01!kevino
_______________________________________________________________________________
Technical Details
Message-ID: <7850002@pollux.svale.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!hpda!hpcuhc!pollux!kevino

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!hpda!hpcuhc!pollux!kevino
From: kevino@pollux.svale.hp.com (Kevin Owen)
Newsgroups: comp.windows.ms.programmer
Subject: Positioning a Dialog Box
Message-ID: <7850002@pollux.svale.hp.com>
Date: 17 Apr 91 00:09:12 GMT
Organization: Hewlett Packard CPCD, Sunnyvale CA
Lines: 14