PDA

View Full Version : how browse my folder like windows browser



ANAS3
12-30-2005, 05:52 AM
how browse my folder like windows browser to use commands in right mouse-click in my project no out >>

ANAS3
12-30-2005, 01:32 PM
this is necessary :huh help me :eek:

Worm
12-30-2005, 01:39 PM
If you're in a hurry, try the search button :)

http://www.indigorose.com/forums/showthread.php?t=7545&highlight=explorer

ANAS3
12-30-2005, 01:47 PM
:eek: no no no i want use commands in right mouse-click in this browser :huh in my project no out :huh

Worm
12-30-2005, 01:49 PM
create your own popup menus

Application.ShowPopupMenu

ANAS3
12-30-2005, 02:11 PM
you are good man :rolleyes

i am happy with you :p

can gave me Example :huh

Worm
12-30-2005, 02:15 PM
straight from the help file



if(e_Type == RIGHT_BUTTON_DOWN)then
tblMenu = {};
tblMenu[1] ={};
tblMenu[1].Text = "&New Menu";
tblMenu[1].ID = 100;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;
tblMenu[1].SubMenu = {};
tblMenu[1].SubMenu[1] = {};
tblMenu[1].SubMenu[1].Text = "&SubItem 1";
tblMenu[1].SubMenu[1].ID = 101;
tblMenu[1].SubMenu[1].Checked = false;
tblMenu[1].SubMenu[1].Enabled = true;
tblMenu[1].SubMenu[2] = {};
tblMenu[1].SubMenu[2].Text = "S&ubItem 2";
tblMenu[1].SubMenu[2].ID = 102;
tblMenu[1].SubMenu[2].Checked = false;
tblMenu[1].SubMenu[2].Enabled = true;

nRes = Application.ShowPopupMenu(e_X, e_Y, tblMenu, TPM_LEFTALIGN, TPM_TOPALIGN, true, true);

if(nRes == 0)then
Dialog.Message("Menu Result","Cancelled");
else
Dialog.Message("Menu Result","Menu ID selected = "..nRes);
end
end

ANAS3
12-30-2005, 02:21 PM
thank you :yes

i am will try :cool

to understand it :huh