HOWTO prevent dialog from beeing resized |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
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 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
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 |
|
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 |