mIRC Home    About    Download    Register    News    Help

Print Thread
#148884 11/05/06 02:04 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
Assuming that I have a tree made with MDX, for example:

A
|__B
|__C
D
E
F
|__G

How can I give a focus to F or G for example ???

All the tree has an ID 1 as much as I know... Anyone have an idea

(I know that it is not totaly mIRC related).


Thanks

#148885 11/05/06 02:26 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
currently I'm trying to the:
/did -f dialog 1
sendkeys {down}{down}{down}{down}{down}


Doesn't seem to work (For start, the tree doesn't get any focus)

#148886 11/05/06 02:27 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Read VIEWS.HLP, it's all in there. In particular, you need to familiarize yourself with the cb command. You also need to understand what pages are and how to use them (section What is an output page?).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#148887 11/05/06 02:38 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
Thanks.

#148888 11/05/06 03:31 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
I tried reading it, and I'm still having hard time to understand how to choose a specific bransh or sub-branch.

I have no idea what is the page name on the script because I used a script that made me the dialog.

example could be nice.

#148889 11/05/06 05:51 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
I tried using:

did -i dialog 1 1 cb 6

but it does nothing... am I missing something (6 seem ot be the page number that I want).

All I want is to open the dialog and to initiate the branch that will be shown first.

10x

#148890 11/05/06 06:02 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Just a suggestion here, why not use DCX instead? The good thing about DCX is that it comes with some examples. It is far easier and you'll have a working treeview in 10 minutes or less. It is by far the best DLL I've used. smile

Here's a screenshot.

#148891 11/05/06 06:04 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
I already have the whole thing coded with MDX, I don't wanna start coding the whole thing again... not to mention that I will code it and then descover that I can't do that I want or that I can do it with MDX....

#148892 11/05/06 06:09 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Ahh right well as I said just a suggestion. smile

#148893 11/05/06 06:23 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
How do I even use it??

Is there something similar to MDX studio?

#148894 11/05/06 06:29 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I believe there is a DCX studio, I think it's written in mIRC. I just adapted from the treeview example.

DCX Studio by twigboy

#148895 11/05/06 06:34 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
10x

#148896 11/05/06 06:37 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
But you'll notice when using their example everything will come together. It really is the most simplest thing I have ever used.


Link Copied to Clipboard