Print Page | Close Window

Close [X] Bug ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5088
Printed Date: 14 May 2024 at 4:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Close [X] Bug ?
Posted By: Simon HB9DRV
Subject: Close [X] Bug ?
Date 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



Replies:
Posted By: akur
Date Posted: 20 September 2006 at 4:49am
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?


Posted By: Simon HB9DRV
Date Posted: 20 September 2006 at 5:10am
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


Posted By: Oleg
Date Posted: 20 September 2006 at 7:43am
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


Posted By: Simon HB9DRV
Date Posted: 20 September 2006 at 8:26am
Originally posted by oleg oleg wrote:

Hi,
The thing that standard WS_EX_TOOLWINDOW windows always draw this close buttons. there is no standard methods how it can be removed.

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


Posted By: Oleg
Date Posted: 20 September 2006 at 9:27am

Thanks Samon,

for next release this button will be disabled for xtpPaneNoCloseable.
Thanks.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 20 September 2006 at 9:40am
Originally posted by oleg oleg wrote:

Thanks Samon,

for next release this button will be disabled for xtpPaneNoCloseable.
Thanks.

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


Posted By: Oleg
Date Posted: 20 September 2006 at 10:25am
Hi,
 
it can be customized in your application - create custom floating frame container and catch WM_CLOSE.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 20 September 2006 at 10:34am
Is there anything you haven't thought of?

Now let's see if I can create the custom container...


-------------
Simon HB9DRV



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net