Stefan Bender Posted January 9, 2019 Share Posted January 9, 2019 Dear developers, what does the second parameter "foldersAreCategories" mean? I tried either value and don't see any difference. What is this parameter used for? I'm asking because in VW 2019 we have serious problems with the resource browser control in dialogs. Symbols in subfolders do not show up, and clicking on names of subfolders causes flickering and garbage to be drawn (I'm about to write a bug report about that, but it would help to know what this parameter is meant for). Thanks for any help, Stefan Bender Quote Link to comment
JBenghiat Posted January 9, 2019 Share Posted January 9, 2019 The older resource pop-ups allowed content to have categories, which displayed as shaded bands between icons. This option should create dividers for each folder. That said, I would recommend using IResourceManagerContent instead, which will give you a full Resource Manager for the control. //Header: VectorWorks::Extension::IResourceManagerContentPtr fContent; ... //Constructor: fContent( VectorWorks::Extension::IID_ResourceManagerContent ) ... //OnInitializeContent(): fContent->InitByTDType(kMaterialNode); fContent->AddContent(kObjectsEntLightingGobos); VWImagePopupCtrl* texturePopup = this->GetImagePopupCtrlByID( kPopupTexture ); texturePopup->PullDownResourceLayoutInit( fContent ); texturePopup->PullDownResourceLayoutSetSelectedResourceName( fSelItem ); Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.