mIRC Home    About    Download    Register    News    Help

Print Thread
#199001 07/05/08 05:37 PM
Joined: Dec 2003
Posts: 28
L
LEET Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2003
Posts: 28
I am currently scripting a dialog which docks to the channel window using the dcx (http://dcx.scriptsdb.org/) dll.

Whenever the dialog opens it takes the focus from mIRC onto the dialog, then I scripted 'window -a #channame' to bring the focus back onto mIRC. The resulting effect is that the mIRC window appears to flicker.

I'd like to have made a parameter when using /dialog, to not take focus from the mIRC window in the first place cool



I R WITH STUPID -> LEET
LEET #199006 07/05/08 07:35 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
you're using DCX to create the dialog or just to dock an existing mIRC dialog?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #199007 07/05/08 07:42 PM
Joined: Jan 2006
Posts: 468
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2006
Posts: 468
DCX will not create a dialog, it will manipulate an existing dialog by adding styles and creating controls inside of it.

I assume its his syntax with the /dialog command.

argv0 #199052 08/05/08 11:53 AM
Joined: Dec 2003
Posts: 28
L
LEET Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2003
Posts: 28
Originally Posted By: argv0
you're using DCX to create the dialog or just to dock an existing mIRC dialog?


I'm using DCX to just an existing mIRC dialog.


I R WITH STUPID -> LEET
symphony #199053 08/05/08 11:54 AM
Joined: Dec 2003
Posts: 28
L
LEET Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2003
Posts: 28
Originally Posted By: symphony
DCX will not create a dialog, it will manipulate an existing dialog by adding styles and creating controls inside of it.

I assume its his syntax with the /dialog command.


You're right. I'm talking about a suggestion for a possible new parameter added to /dialog to make it so it launches the dialog without bringing focus onto it.


I R WITH STUPID -> LEET
LEET #199095 08/05/08 11:14 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Until Khaled implements this (presuming that he does), you can effectively do the same thing by issuing /dialog -i <dialog> immediately after the /dialog command that opens the dialog.

NOTE: Including the -i switch with your current opening command will not have the same effect. It needs to be a separate command.


Link Copied to Clipboard