+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

LlDesignerProhibitAction


(Bjørn Holm) #1

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?


(combit Support - Christian Rauchfuß) #2

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