Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 19/12/2013 at 07:32, xxxxxxxx wrote:
User Information: Cinema 4D Version: R15 Platform: Windows ; Language(s) : C++ ;
--------- I want to use the [CUSTOMGUI_TEXTURENAME](file:///D:/Users/pgrooff/Documents/pim/c4d/c++%20R15%20sdk/help/pages/customgui_texturename/enum_CUSTOMGUI_TEXTU407.html#customgui_texturename0) However I do not see the little arrow in front of the field and I do not see the icon of the selected texture. See below. I tried setting some sttings, but nothin works. What to do?
BaseContainer textgui; textgui.SetBool(FILENAME_TEXTURE, true); textgui.SetBool(LINKBOX_HIDE_ICON, false); myTxtfile = (TexturenameCustomGui* )AddCustomGui(1010, CUSTOMGUI_TEXTURENAME, "", BFH_SCALEFIT, 0, 0, textgui);
On 19/12/2013 at 13:17, xxxxxxxx wrote:
Hi Pim,
you can expand the widget by calling BaseCustomGui::SetLayoutMode(LAYOUTMODE_MAXIMIZED). You can get the address of the BaseCustomGui from GeDialog::AddCustomGui() or GeDialog::FindCustomGui().
PS: The SetLayoutMode() method is not available in Python.
Best, -Niklas
EDIT: You need to call this after, not in, CreateLayout() (eg. InitValues())
On 19/12/2013 at 23:17, xxxxxxxx wrote:
Thanks, I'll give it a try and report back.
On 19/12/2013 at 23:27, xxxxxxxx wrote:
And it works! All I had to add was myTxtfile->SetLayoutMode(LAYOUTMODE_MAXIMIZED); Only the little 'fold' arrow is missing in front of the field, but perhaps I can 'simulate' that by using this same function.