Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - HOWTO prevent dialog from beeing resized
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO prevent dialog from beeing resized

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO prevent dialog from beeing resized
    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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.125 seconds.