On 08/08/2018 at 14:25, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R19
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
Is it possible to stop a dialog from being able to be resized horizontally? But still resizable vertically? I was sure there was a flag for this but can't seem to find it.
I have a single UserArea in a dialog. I want it to be locked to a specific width but be able to be resized vertically. But at the moment its possible to resize the dialog horizontally leaving the UserArea sitting on the left hand side. This is an issue when docking the dialog into other managers, since the user has to manually keep dragging the splitter to make the dialog fit the user area again.
The dialog is created via code, so I can't use the [SIZE] option from the resource description, which states in the docs that if you use a negative number it will be locked to that resolution. However I haven't found a way to set this flag successfully in C++.
Thanks!