Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Please fix this bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please fix this bug

 Post Reply Post Reply
Author
Message
Alexey2 View Drop Down
Senior Member
Senior Member


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post Topic: Please fix this bug
    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:
 
Back to Top
Alexey2 View Drop Down
Senior Member
Senior Member


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2006 at 11:17pm
first attachment is bad, try this: uploads/20061108_231731_Tray.rar
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 November 2006 at 7:46am
Hi,
 
Add TPM_RIGHTALIGN flag:
 
Popup.ShowPopup TPM_RIGHTALIGN
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Alexey2 View Drop Down
Senior Member
Senior Member


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post 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:
Back to Top
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Posted: 13 November 2006 at 1:11am
use the mouse position instead, using api
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.