[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

1050.0. "Help on Application" by BARNA::FURIO () Mon Jul 03 1989 11:07

    
    	I'm trying to develop an application that basically, after login,
    should let the icon box and session manager's icon to be seen and
    be sensitive to the MB2 at the rest of the screen in order to get
    a pop-up menu with plenty of options.
    	I have tried with a dialog box, but although i specify de X,Y
    arguments in the UIL file, it's always positioned at 0,0. (So the
    icon box is lost and the end-user is "forced" to click to get it).
    Why?
    	The pop-up menu works fine. However, if the user clicks MB1
    on the dialog box, loses all the windows because of stack reordering.
    Anyway to disable the MB1 on the dialog box? (I've tried to associate
    a callback that does nothing to the MB1 but it does not work).
    	So I'm wondering if the dialog box is the right solution. What
    I need is quite simple: the same you get when login (icon box and
    session manager's icon) PLUS the pop-up menu when clicking MB* in
    order to choose options. 
    
    	Any idea?
    
    				Thanks in advance, Xavi

T.RTitleUserPersonal
Name
DateLines
1050.1VIA::DESAIJatin DesaiMon Jul 03 1989 13:008
Look in ELKTRA::DW_EXAMPLES notes file for a program called ROOTMENU
(dir/title=rootmenu last-1 should do it). It has probably what you are
looking for. It is also mentioned in this notes file somewhere with
a title like 'pop-up menu on root'.

Jatin