Close [X] Bug ? |
Post Reply |
Author | |
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Posted: 19 September 2006 at 10:34am |
I create a few panes with the xtpPaneNoCloseable option. When a pane is floating or is docked to my second monitor the [X] is displayed but doesn't do anything. When docked inside the application [X] is not shown.
|
|
Simon HB9DRV
|
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Think I have the same problem - I'm using XTP version 10.1. Option xtpPaneNoCloseable works well with docked panes, but doesn't work with floating panes.
Is there any workaround for this, or is it going to be fixed in the next version? |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Workaround - update the code yourself :-)
To be honest I can live with this, but the Codejocks and jockettes are so professional they'll want to fix this. I would like a maximise button so that when floating on my second monitor I can max. to the full size of the monitor. |
|
Simon HB9DRV
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
The thing that standard WS_EX_TOOLWINDOW windows always draw this close buttons. there is no standard methods how it can be removed.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Oh well - maybe I could intercept this and re-dock the pane then? Having a button which does nothing will result in questions: 'what is this button for'. |
|
Simon HB9DRV
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks Samon, for next release this button will be disabled for xtpPaneNoCloseable.
Thanks.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
If you can intercept it then maybe give users the option of repositioning the pane similar to double-clicking on the title - ie.e re-dock. That way you're cancelling the float and using the button, just a thought. I would like a Maximise button to use all available room on the current screen. |
|
Simon HB9DRV
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
it can be customized in your application - create custom floating frame container and catch WM_CLOSE.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Is there anything you haven't thought of?
Now let's see if I can create the custom container... |
|
Simon HB9DRV
|
|
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 |