mIRC Home    About    Download    Register    News    Help

Print Thread
(modal) modeless dialog #72024 19/02/04 04:19 AM
Joined: Feb 2004
Posts: 13
M
medowl Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Feb 2004
Posts: 13
i could really use a new option for the /dialog command
something that opens a dialog from a parent dialog and makes the new dialog the only dialog available for access untill it is closed...
so kinda like a modal dialog , but which doesn't halt the script, and doesn't necessarely need to return a variable

Re: (modal) modeless dialog #72025 20/02/04 02:14 PM
Joined: Dec 2003
Posts: 21
E
ELY_M Offline
Ameglian cow
Offline
Ameglian cow
E
Joined: Dec 2003
Posts: 21
hmmmm

I thought this is MFC programming help. but that is good idea for scripting side.

pretty complex to do modeless dialogs...

might should suggest to do

/dialog -m here



ELY M.
Re: (modal) modeless dialog #72026 25/02/04 03:39 AM
Joined: Mar 2003
Posts: 27
Q
Quietust Offline
Ameglian cow
Offline
Ameglian cow
Q
Joined: Mar 2003
Posts: 27
If you want a modal dialog that won't halt the active script, create it using a timer.


* Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another
Re: (modal) modeless dialog #72027 25/02/04 04:02 AM
Joined: Feb 2004
Posts: 13
M
medowl Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Feb 2004
Posts: 13
yeah i tried that .. and it kinda works , but not totally in my case
see im calling the small dialog i want to be modal from another bigger dialog, if i click anywhere outside the parent dialog , it works fine as a modal dialog , but if i click on the parent dialog, the bigger dialog moves to the foreground, making the little (supposed to be modal) dialog invisible... i hope you see what im trying to explain

i want the little dialog to stay ontop nomatter what... (untill i close it with an OK button)

it would just be very easy if there was an extra option added to the /dialog command which could do this very simple..

Re: (modal) modeless dialog #72028 25/02/04 06:31 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Maybe $dialog(name,table,-4)

See /help $dialog for explanation of the parent (the -4) option.