Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > One more question...


Reply
 
Thread Tools Display Modes
  #1  
Old 02-20-2001, 11:58 PM
Eagle
Guest
 
Posts: n/a
Default One more question...


OK, using the vast knowlege on this forum and vb-world.net I've got my program to create a system tray icon. Using my knowledge of pop-up menus I managed to get a menu to appear when you right click on the icon.

The problem is when I right click on the Icon it doesn't do anything. I have to right click on it twice in order to get the pop-up menu to appear.

The reason for this (I think) is when I right click on the icon the first time, It has to deselect the current window (whatever window that may be) and select the system tray, then the second time it is able to pop-up the menu.

The question is, how do I stop this. When I rightclick on other programs icons the current window is deselected (the title bar turns grey) and the menu pops up at the same time, therefore only needing one click.

I hope you can understand this. It is a little confusing. If you need more info, I can attach a code segment to show you what I mean.

Reply With Quote
  #2  
Old 02-21-2001, 06:45 AM
XMAXSoftware
Guest
 
Posts: n/a
Default Re: One more question...

I'd like to find out what's the cause of this problem, so if you send me the sourcecode, I will take a look at it.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->