![]()  | 
 
BUG: context menu position | 
 
    Post Reply  
   | 
  
| Author | ||
   
   Fredrik  
   
   Senior Member  
   Joined: 22 June 2005 Status: Offline Points: 235  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: BUG: context menu positionPosted: 28 January 2019 at 8:04am  | 
 |
| 
   
    
   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
     
   
   | 
 ||
![]()  | 
 ||
   
   Fredrik  
   
   Senior Member  
   Joined: 22 June 2005 Status: Offline Points: 235  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 23 November 2020 at 5:24am | 
 |
| 
   
    
   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: 235  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 08 November 2022 at 3:10am | 
 |
| 
   
    
   ... not fixed in v. 22
    
   
   | 
 ||
| 
   
     
     Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
     
   
   | 
 ||
![]()  | 
 ||
   
   bschaer  
   
   Groupie  
   Joined: 27 June 2006 Location: United States Status: Offline Points: 29  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 25 January 2023 at 2:54pm | 
 |
| 
   
    
   Support is itself on life support.  Sad.
    
   
   | 
 ||
![]()  | 
 ||
    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  |