Print Page | Close Window

Please fix this bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5471
Printed Date: 20 June 2025 at 5:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Please fix this bug
Posted By: Alexey2
Subject: Please fix this bug
Date Posted: 08 November 2006 at 11:14pm
When I put my VB app to system tray and right-click app's icon commandbars menu is popup incorrect. Look at screenshots:
 
Default menu works good:



Command bars menu is popup on the right:
 
Attached sample: https://forum.codejock.com/uploads/20061107_115452_Try.zip - uploads/20061107_115452_Try.zip



Replies:
Posted By: Alexey2
Date Posted: 08 November 2006 at 11:17pm
first attachment is bad, try this: https://forum.codejock.com/uploads/20061108_231731_Tray.rar - uploads/20061108_231731_Tray.rar


Posted By: Oleg
Date Posted: 09 November 2006 at 7:46am
Hi,
 
Add TPM_RIGHTALIGN flag:
 
Popup.ShowPopup TPM_RIGHTALIGN


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Alexey2
Date Posted: 09 November 2006 at 10:14am

Ok. But may be you will do this automatically in future? If I set in code TPM_RIGHTALIGN and user move taskbar to the left, we will see again the bug :) Or in this case I need to detect programaticaly that task bar is placed on the left, but I don't know how.

Default menu:
 
Command bars:


Posted By: gaudetm
Date Posted: 13 November 2006 at 1:10am
The Best solution is to get the position of the mouse using api GetCursorPos if I'm right or someone that look like that name
than


Posted By: gaudetm
Date Posted: 13 November 2006 at 1:11am
use the mouse position instead, using api



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net