![]() |
Please fix this bug |
Post Reply ![]() |
Author | |
Alexey2 ![]() Senior Member ![]() Joined: 24 September 2006 Status: Offline Points: 124 |
![]() ![]() ![]() ![]() ![]() 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: uploads/20061107_115452_Try.zip
|
|
![]() |
|
Alexey2 ![]() Senior Member ![]() Joined: 24 September 2006 Status: Offline Points: 124 |
![]() ![]() ![]() ![]() ![]() |
first attachment is bad, try this: uploads/20061108_231731_Tray.rar
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Add TPM_RIGHTALIGN flag:
Popup.ShowPopup TPM_RIGHTALIGN
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Alexey2 ![]() Senior Member ![]() Joined: 24 September 2006 Status: Offline Points: 124 |
![]() ![]() ![]() ![]() ![]() |
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:
|
|
![]() |
|
gaudetm ![]() Senior Member ![]() ![]() Joined: 23 September 2006 Location: Canada Status: Offline Points: 134 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
gaudetm ![]() Senior Member ![]() ![]() Joined: 23 September 2006 Location: Canada Status: Offline Points: 134 |
![]() ![]() ![]() ![]() ![]() |
use the mouse position instead, using api
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |