| View previous topic :: View next topic |
| Author |
Message |
timdoug68 Newbie
Joined: 15 Jun 2008 Posts: 2
|
Posted: Sun Jun 15, 2008 3:22 am Post subject: VDS 6 - popup menu from taskicon Need help |
|
|
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 |
|
 |
DaveR Valued Contributor


Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Sun Jun 15, 2008 3:37 pm Post subject: |
|
|
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 |
|
 |
timdoug68 Newbie
Joined: 15 Jun 2008 Posts: 2
|
Posted: Sun Jun 15, 2008 4:04 pm Post subject: That was it |
|
|
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 |
|
 |
|
|
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
|
|