mIRC Home    About    Download    Register    News    Help

Print Thread
#143910 03/03/06 10:04 AM
Joined: Jan 2006
Posts: 64
S
Babel fish
OP Offline
Babel fish
S
Joined: Jan 2006
Posts: 64
How can I embed a dialog to the top side of a custom window. Is there such dll? And if yes - which is it? crazy

#143911 03/03/06 11:20 AM
Joined: Feb 2006
Posts: 54
T
Babel fish
Offline
Babel fish
T
Joined: Feb 2006
Posts: 54
I holp i undestend you right ! (becuse my english is not so good)



Code:
  
on 1:ACTIVE:*:{
  if ($dialog(d)) {
  if ($active != @Test) dialog -sb d 0 0 0 0
  else { dialog -sb d 1 100 80 80 }
 }
}
on *:CLOSE:@Test:if ($dialog(d)) { dialog -x d }
alias -l t {
  if ($window(@test)) && (!$dialog(d)) { dialog -ma d d }
}
alias tw { window @test | t }
dialog -l d {
  option dbu 
  size 1 100 80 80
  Text "Example",1,10 30 40 10
}

Usage:/tw

Last edited by tso29; 03/03/06 11:28 AM.
#143912 03/03/06 12:25 PM
Joined: Jan 2006
Posts: 64
S
Babel fish
OP Offline
Babel fish
S
Joined: Jan 2006
Posts: 64
What in the name of my uvula is this!? shocked confused

#143913 03/03/06 12:41 PM
Joined: Feb 2006
Posts: 54
T
Babel fish
Offline
Babel fish
T
Joined: Feb 2006
Posts: 54
Quote:

The topic of your post is:
dialog in custom window


AND WHAT I POST IS A DIALOG IN A CUSTOM WINDOW ALT+R LOAD IT!
INTO REMOTE AND TYPE /TW
...........Beyonce is the girl..............

#143914 03/03/06 12:50 PM
Joined: Jan 2006
Posts: 64
S
Babel fish
OP Offline
Babel fish
S
Joined: Jan 2006
Posts: 64
The script you've posted opens a dialog when a custom window opens and close it when it closes. What I need is a method to DOCK the dialog IN the custom window. There are dlls which let you dock window to a dialog control, but I don't know if there is such to dock dialog in a window. smile

#143915 03/03/06 12:56 PM
Joined: Feb 2006
Posts: 54
T
Babel fish
Offline
Babel fish
T
Joined: Feb 2006
Posts: 54
Actuali ti semse like you dont now thet a dialog is a window fineli. using draw controls i give you an easy sulution the code i post 'docks' the dialog with the custom window but there is another way if you want so ! /help /draw and good luck! Beyonce is the girl don't forget it!

Last edited by tso29; 03/03/06 12:57 PM.
#143916 03/03/06 01:21 PM
Joined: Jan 2006
Posts: 64
S
Babel fish
OP Offline
Babel fish
S
Joined: Jan 2006
Posts: 64
Phaa... pf... bla... as you say... I have no time to argue, check out WindowFx.dll @ mircscripts.org, this is what I needed all the time... smirk
Peace brother! smile

Last edited by SoundreameR; 03/03/06 01:22 PM.
#143917 03/03/06 01:25 PM
Joined: Feb 2006
Posts: 54
T
Babel fish
Offline
Babel fish
T
Joined: Feb 2006
Posts: 54
like you say WindowFx not DialogFX and it fineli draws controls into windows. it is not using dialogs smile if you want a dialog button in a window, you need to draw or to use a pic
but dock a dialog in a custom window is wat i did. peace and Beyonce is still the girl...


Link Copied to Clipboard