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 


system tray icon has disappeared

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


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sun Mar 17, 2002 1:26 pm    Post subject: system tray icon has disappeared Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
bjdavis
Valued Newbie


Joined: 03 Jan 2002
Posts: 28
Location: Jacksonville, FL

PostPosted: Wed Mar 20, 2002 2:01 am    Post subject: system tray icon with vds 4.x Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Mar 21, 2002 1:29 pm    Post subject: makes no difference Reply with quote

Whether the file is compiled or not, the icon doesn't show. Am i the only one with this problem?

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bjdavis
Valued Newbie


Joined: 03 Jan 2002
Posts: 28
Location: Jacksonville, FL

PostPosted: Thu Mar 21, 2002 2:49 pm    Post subject: Reply with quote

Post a snippet of your code and what OS your using ... Confused
_________________
B.J. Davis, MCSE
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
VDSuser
Contributor
Contributor


Joined: 21 Mar 2002
Posts: 58
Location: Somewhere in time

PostPosted: Thu Mar 21, 2002 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Mar 22, 2002 5:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Mar 22, 2002 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Fri Mar 22, 2002 11:20 pm    Post subject: Reply with quote

Maybe you should be using "DIALOG HIDE" instead of "window hide, %%title_bar?"
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat Mar 23, 2002 8:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sat Mar 23, 2002 10:30 am    Post subject: found it! Reply with quote

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
View user's profile Send private message Visit poster's website 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