Jump to content
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

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


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.

  • Create New...