Operating System - HP-UX
1753261 Members
4966 Online
108792 Solutions
New Discussion юеВ

How to manipulate the pointer to force a user to answer a pop up question

 
SOLVED
Go to solution
Boyd Kodama
Frequent Advisor

How to manipulate the pointer to force a user to answer a pop up question

HP-UX 10.20 with CDE on series 700

I'm writing a script that pops up a question that the user
should answered before doing anything else. For example, I am desiring the same affect HP-UX/CDE has when one logs off a workstation - the pointer is only active in the Confirmation Window, whether to Continue or Cancel the log off.

Any ideas how I could get that to work for my situation?

I call an executable (provided by another party) that takes options, one being the text of my message, to pop up the question.

Would I have to change the executable? (unfortunately, I am not privy to its source code.)

thanks,

Boyd
Without Mondays, there weren't be any Fridays
5 REPLIES 5
Bill McNAMARA_1
Honored Contributor

Re: How to manipulate the pointer to force a user to answer a pop up question

You could popup the window full size with an Xoverride Window Manager set to true.

Later,
Bill
It works for me (tm)
Boyd Kodama
Frequent Advisor

Re: How to manipulate the pointer to force a user to answer a pop up question

UPDATE - I found out that I can use /usr/bin/X11/xdialog instead of this other party's executable. But, I am still trying to obtain the same effect with the pointer to force the user to answer the pop up. How is that possible with xdialog?

thanks,

Boyd
Without Mondays, there weren't be any Fridays
Curtis Larson_1
Valued Contributor

Re: How to manipulate the pointer to force a user to answer a pop up question

Don't know if you can access this functionality. But isn't there something about the "modality" of a dialog that sets this. I think it is controlled by it's dialogStyle resource. if set to something like DIALOG_SYSTEM_MODAL the dialog is modal across all appplications running on the display. The user may not interact with any application until the dialog is dismissed.

Not exactly an answer, but it may give you something to investigate further. or someone else will be able to comment with further information
Marc Ahrendt
Super Advisor
Solution

Re: How to manipulate the pointer to force a user to answer a pop up question

/usr/local/bin/xmessage -bg black -fg red -modal -center -dialog
Title "Certification Posting" -buttons "I read the statements above:0" "Are
you certified?"

the -modal is what will get u what u r looking 4
hola
Boyd Kodama
Frequent Advisor

Re: How to manipulate the pointer to force a user to answer a pop up question

Thanks.

I ending up using `-xrm "*mwmInputMode:2"` which
works well.

Without Mondays, there weren't be any Fridays