Print Page | Close Window

How disable docking pane change size

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1733
Printed Date: 07 November 2025 at 9:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How disable docking pane change size
Posted By: stephen_hyc
Subject: How disable docking pane change size
Date Posted: 02 February 2005 at 1:01am

how to make docking pane disable to change its size.I mean to fix its size.




Replies:
Posted By: jimmy
Date Posted: 02 February 2005 at 2:45am
Hi,

Pane send a Notify to MainFrame
LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)
here you can handle the action
    if (wParam == XTP_DPN_ACTION)
        {
        XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam;
        switch(pAction->action)
            {
            case xtpPaneActionClosing:
            case xtpPaneActionClosed:
                    pAction->bCancel = TRUE;
                break;
            }
        return TRUE;
        }

Test it for sizeing, i'm not realy sure.

  Jimmy



Posted By: Oleg
Date Posted: 02 February 2005 at 4:29am
See latest Pane sample

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


Posted By: stephen_hyc
Date Posted: 02 February 2005 at 7:25pm
can you give me a link. I can't find the solution from any sample existed.


Posted By: stephen_hyc
Date Posted: 02 February 2005 at 7:38pm
i see the sample.but after you hide the pane and then make it show again, you will find it can be resized again . how to deal with it.


Posted By: stephen_hyc
Date Posted: 16 February 2005 at 10:30pm
i mean in the state of hide , how can i make the docking pane unable to resize.



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