Print Page | Close Window

HOWTO prevent dialog from beeing resized

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=10041
Printed Date: 12 December 2024 at 6:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO prevent dialog from beeing resized
Posted By: mgampi
Subject: HOWTO prevent dialog from beeing resized
Date Posted: 02 April 2008 at 11:35am
Hi;
 
I'm trying to add a dialog to a docking pane. So I searched the forum and found some posts about this issue.
I use ActivePaneView sample as a starting point, but I don't know how to prevent the dialog inside the pane to be sized by mouse.
The problem can easily be reproduced with the ActivePaneView sample:
 
Move the mouse to the lower right edge of the pane onto the border of the dialog and now resize it. If the mouse lies a few pixels within the pane, not the pane but the dialog is resized.
 
So does anyone know how to prevent this?
 


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Replies:
Posted By: mgampi
Date Posted: 02 April 2008 at 4:23pm

Ok;

I found it myself, just remove the WS_THICKFRAME style from resource...



-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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