forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VDS 6 - popup menu from taskicon Need help

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
timdoug68
Newbie


Joined: 15 Jun 2008
Posts: 2

PostPosted: Sun Jun 15, 2008 3:22 am    Post subject: VDS 6 - popup menu from taskicon Need help Reply with quote

It has been a long time since I have used VDS, last time was back in 3.0 days and unfortunently I have lost all my source code from those days. Have been using WinBatch for the last 10 years cause that is what my employer used.

Now I am back using VDS for developing things that I see WinBatch lacks. So anyway here is my problem.

I have created a DIALOG with the TASKICON function since the program is going to sit down in the taskbar. Anyway trying to get a POPUP menu to come up when you right click on the icon. Have the menu appear but it pop's up in the upper left corner of the screen rather then right off the task tray icon.

Can someone help me ????


Title testing
%A = @REGREAD(HLM,Software\testing Software\test,)
%B = @REGREAD(HLM,Software\testing Software\test,)

Info Program Run Time %B Program Path = %A
DIALOG CREATE,AMS Scheduler
DIALOG ADD,TASKICON,TASKICON1,,Testing

:DialogLoop
WAIT EVENT,30
GOTO @EVENT()
:ICON
PARSE "%B",@CLICK(B)
rem Info You Windows Path is %A and you Clicked the %B Mouse Button
DIALOG POPUP,Information;I|Help;H|-|Exit;E,INFOMENU;HELPMENU;EXITMENU,
while @event()
wend
:TIMER
WAIT 10
Goto DialogLoop
Goto DialogLoop
Back to top
View user's profile Send private message MSN Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sun Jun 15, 2008 3:37 pm    Post subject: Reply with quote

Change
Code:
DIALOG POPUP,Information;I|Help;H|-|Exit;E,INFOMENU;HELPMENU;EXITMENU,

to this
Code:
DIALOG POPUP,Information;I|Help;H|-|Exit;E

_________________
cheers

Dave
Back to top
View user's profile Send private message
timdoug68
Newbie


Joined: 15 Jun 2008
Posts: 2

PostPosted: Sun Jun 15, 2008 4:04 pm    Post subject: That was it Reply with quote

Thanks for the help that did the trick!!!

Thanks again... I am sure I will be back, when I was using VDS3 event that version seemd a little more robust then some of Winbatch, still learning 6, but pretty impressed so far...

Just wish I could remember all my coding from VDS before I started Winbatch, but they are kinda simular, just some of the command structure is different...
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group