Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Close [X] Bug ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Close [X] Bug ?

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: Close [X] Bug ?
    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
Back to Top
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.234 seconds.