|  | 
| pop-up menu causes pane to close | 
| Post Reply   | 
| Author | |
| MichaelN   Senior Member   Joined: 19 September 2006 Status: Offline Points: 112 |  Post Options  Thanks(0)  Quote  Reply  Topic: pop-up menu causes pane to close Posted: 06 January 2011 at 2:54pm | 
| 
   I open a docking pane, then right click inside it to open a context menu. When I move the mouse on the menu but outside the pane, the pane closes. The parent CWnd of the menu is set to the pane. Is it possible to force the pane to stay open while its menu is open?
 Thanks, Michael | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 January 2011 at 4:23pm | 
| 
   Hi, Guess its something in your code... | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| MichaelN   Senior Member   Joined: 19 September 2006 Status: Offline Points: 112 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 January 2011 at 4:57pm | 
| 
   Cute reply. Such as what?
    | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 07 January 2011 at 2:34am | 
| 
   
ok, seems I see now - "open pane" means it was hidden and you expand it ? When you open it do you click on its tab and it become active ? if not, try manually call SetFocus to your pane. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| 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 |