![]() |
BUG: context menu position |
Post Reply ![]() |
Author | ||
bschaer ![]() Groupie ![]() Joined: 27 June 2006 Location: United States Status: Offline Points: 24 |
![]() ![]() ![]() ![]() ![]() Posted: 25 January 2023 at 2:54pm |
|
Support is itself on life support. Sad.
|
||
![]() |
||
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 222 |
![]() ![]() ![]() ![]() ![]() |
|
... not fixed in v. 22
|
||
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
||
![]() |
||
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 222 |
![]() ![]() ![]() ![]() ![]() |
|
I just checked the status of this bug in 19.3 - and it is still there.
Hey! It is just changing a '<' to '=='
!!! https://docs.microsoft.com/en-us/windows/win32/menurc/wm-contextmenu |
||
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
||
![]() |
||
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 222 |
![]() ![]() ![]() ![]() ![]() |
|
Hi CodeJock Could you change line 4861 in XTPSyntaxEdiCtrl.cpp
To:
Otherwise the context menu will pop up on the center of the screen if you have moved your application to a screen 'left' of your primary where the screen coordinates will be negative. The second 'if (point.x == -1 && point.y == -1)) should (probably) be changed to "if (!rcWnd.PtInRect(point))".
|
||
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
||
![]() |
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 |