[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

292.0. "Message box placement" by HUBBA::SHAH (What's up Doc?) Thu Feb 23 1989 18:24

Hi all, I have a question on message box placement.  I always want to 
place a message box in the top left hand corner of my window.  If I set 
DwtNdefaultPosition, the message box is always placed in the center.  And
if I give x and y coordinates to my message box, the box doesn't move
with my window, if my window is moved by the user.  Is there any easy way 
of doing this?   Is there a way of modifying the default position that
is set by DwtNdefaultPosition?  Or will I just have to obtain the x and
y positions of my window and manually place my message box accordingly.

Thanks in advance,
-Pratish

T.RTitleUserPersonal
Name
DateLines
292.1LEOVAX::TREGGIARIFri Feb 24 1989 07:4610
> Is there a way of modifying the default position that
> is set by DwtNdefaultPosition?  Or will I just have to obtain the x and
> y positions of my window and manually place my message box accordingly.
    
    I'm afraid you're on your own.  You'll have to figure out where
    your window is each time you want to pop up the message box, and
    position in manually.
    
    Leo