Jump to content
Developer Wiki and Function Reference Links Read more... ×
Stefan Bender

void VWResourceListCategorized::Document_Init(TDType objectType, bool foldersAreCategories): second parameter?

Recommended Posts

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

Share this post

Link to post

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.



VectorWorks::Extension::IResourceManagerContentPtr fContent;
fContent( VectorWorks::Extension::IID_ResourceManagerContent )

VWImagePopupCtrl* texturePopup = this->GetImagePopupCtrlByID( kPopupTexture );
texturePopup->PullDownResourceLayoutInit( fContent );
texturePopup->PullDownResourceLayoutSetSelectedResourceName( fSelItem );


Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.