Skip to content
General IRCd

Urgent Request

A TG007 community discussion started by [::X-System::].

Discussion 10 posts
Page 1 of 1
Open
Topic #11527 · 10 published posts · 2,616 views

Greetings everyone

I wonder if anyone happens to have - or know about - any DLLs that can disable dialog's closure (and hide the X close button aswell)

 

If so, please hit back. Any help would be greatly apperciated

on me:*:join:#:hop #

MDX, DCX

err0r: 666 + 1337 = 2003 backwards is 3002 which is how many people ozzy has banned from tg
err0r: spooky

you referring to mIRC? If so, then you can use mdx or dcx.

 

not sure with dcx, but with mdx, its part of the dialogs.mdx stuff.

Already searched within MDX, but apparently it doesn't do the job. dialog.mdx only adds context help button, minimize and maximize buttons to dialogs. (might be my help file is out-dated, if so please inform me)

 

Don't know about DCX and i don't use it, the dialog i have is already built upon MDX and that's srsly hard to change. Any other ideas ?

 

on me:*:join:#:hop #

hmm Ok, actually i just found the noclose feature, but the file doesn't tell about unsetting this or toggling it back off.

What i needed to do is more like

bleh {
  disable closure
  do stuff
  enable closure back on
}

Edited Nov 12, 2008 7:42 AM by [::X-System::]

on me:*:join:#:hop #

Think about h ow pissed I would be, as a user, if I tried to close your dialog and it wouldn't let me. :P

 

 

Anyway's, noone said the answer would be easy ....

 

 

DCX

 

 

Edit:

 

Anyone who knows me knows Im concerned more with tools than design so I haven't spent much time exploring options concerning things like this. However, this does make me think of a custom picture window. I know you can draw a window with no close button on it. If you hid it from the switchbar you would only be able to close it with a command. /window -c @windowname. You can put buttons and everything on a custom picture window. People even create their own popups with them.

 

You will have to script a bit to pull it off., but why else do what we do with mIRC?

Edited Nov 12, 2008 11:39 PM by Travis

DCX isn't hard to put this into your dialog -- You don't even have to convert the MDX to DCX... just add DCX to it.

err0r: 666 + 1337 = 2003 backwards is 3002 which is how many people ozzy has banned from tg
err0r: spooky

Think about h ow pissed I would be, as a user, if I tried to close your dialog and it wouldn't let me. :P

You haven't read my last post well, have you :P

The dialog must be kept open till the code is done processing, besides, there will be an Exit button (wich will be disabled during code processing, and enabled back on once done)

 

either this, or i'll have to add some kinda checker within every loop, wich will slow the code processing down way more than it is already ;<

 

EDIT:

I'm talking about REALLY HUGE loops here lol

Edited Nov 13, 2008 6:16 AM by [::X-System::]

on me:*:join:#:hop #

Well, remember there are lot's of ways to do things in mIRC. Maybe you should share your code to see if there is a better way.

 

Also, use "if (!$dialog(dialogname)) { return }" if you need.

nvm, Andy on mircscripts.org wrote me a DLL for it, ty for the help everyone ^_^

on me:*:join:#:hop #