LlDesignerProhibitAction

Hi.
I would like to disable the Minimize icon in the top right corner of the preview.
I have already fixed this for the Designer by using the LlDesignerProhibitAction method, but I cannot find the equivalent method for the Preview window?
Is there such a method in the API?

Hi Bjørn,

thank you for your post.

Yes, it is possible to disable the icons:

LlViewerProhibitAction(LL_SYSCOMMAND_MINIMIZE)

Value LL_SYSCOMMAND_MINIMIZE is for Minimize (-1)
Value LL_SYSCOMMAND_MAXIMIZE is for Maximize (-2)

Best regards,

Christian Rauchfuß
Technical Support
combit GmbH