View previous topic :: View next topic |
Author |
Message |
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sun Mar 17, 2002 1:26 pm Post subject: system tray icon has disappeared |
|
|
I wrote a program with VDS that runs minimised in the system tray. When using VDS 3.x, the icon of my program would show in the system tray. But with VDS 4.x, the icon does not show but there is a grey spot where the icon should be - it's as if the icon is there taking up its spot but it is invisible.
I have set up the dialog box with NOSYS but not with the invisible option.
I need to have the icon showing properly - any ideas?
Thanks in advance,
Serge _________________
|
|
Back to top |
|
|
bjdavis Valued Newbie
Joined: 03 Jan 2002 Posts: 28 Location: Jacksonville, FL
|
Posted: Wed Mar 20, 2002 2:01 am Post subject: system tray icon with vds 4.x |
|
|
if you are running the code uncompiled, it will not show the default vds icon. try compiling the code and then run it and see if it is there.
Let us know. _________________ B.J. Davis, MCSE |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Thu Mar 21, 2002 1:29 pm Post subject: makes no difference |
|
|
Whether the file is compiled or not, the icon doesn't show. Am i the only one with this problem?
Serge _________________
|
|
Back to top |
|
|
bjdavis Valued Newbie
Joined: 03 Jan 2002 Posts: 28 Location: Jacksonville, FL
|
Posted: Thu Mar 21, 2002 2:49 pm Post subject: |
|
|
Post a snippet of your code and what OS your using ... _________________ B.J. Davis, MCSE |
|
Back to top |
|
|
VDSuser Contributor
Joined: 21 Mar 2002 Posts: 58 Location: Somewhere in time
|
Posted: Thu Mar 21, 2002 4:48 pm Post subject: |
|
|
If you wrote the program in 3.x the problem may be caused by 4.x's inclusion of tool tips. Try placing an extra comma before the icon name in your code. |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Mar 22, 2002 5:06 am Post subject: |
|
|
VDSuser wrote: | If you wrote the program in 3.x the problem may be caused by 4.x's inclusion of tool tips. Try placing an extra comma before the icon name in your code. |
I can't tell you how many times I've made this mistake! I use VDS all the time, but I switch between 2.x, 3.x and 4.x depending on the program, and I constantly forget which version I'm in.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Fri Mar 22, 2002 10:58 pm Post subject: |
|
|
I am a bit puzzled here because the icon in question is the one that is used at compilation time. Hence i cannot put an extra comma anywhere.
I certainly agree with the extra comma idea as i can see how it would be a problem, but the icon file used at compilation is the one i select when i tell VDS to compile the program.
Is there someting missing in my DIALOG CREATE line perhaps?
Code: | Title Canary
DIALOG CREATE,%%title_bar,-1,0,1000,650,NOSYS
DIALOG ADD,STYLE,FONT,@regread(%%registry,canary,font type),@regread(%%registry,canary,font size),@regread(%%registry,canary,font style),@regread(%%registry,canary,box background),@regread(%%registry,canary,box text)
DIALOG ADD,LIST,LIST1,45,5,950,580,,,FONT,CLICK,DBLCLICK
......
window hide, %%title_bar
...... |
_________________
|
|
Back to top |
|
|
SnarlingSheep Professional Member
Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Fri Mar 22, 2002 11:20 pm Post subject: |
|
|
Maybe you should be using "DIALOG HIDE" instead of "window hide, %%title_bar?" _________________ -Sheep
My pockets hurt... |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Mar 23, 2002 8:00 am Post subject: |
|
|
Where's your call for the TASKICON????
TASKICON,<name>,<filename>,<hint>
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sat Mar 23, 2002 10:30 am Post subject: found it! |
|
|
By reading a post from someone else i found the problem. The DIALOG ADD, TAKSICON had been setup for VDS 3.x and not for VDS 4.X - didn't even know that there was a difference :oops: !
Thanks for your help, it now works :lol: :lol: :lol:
Serge _________________
|
|
Back to top |
|
|
|