Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I prevent users from changing the GUI style at runtime using the MWLOOK variable?

changing GUI runtime style Users
0
Posted

How do I prevent users from changing the GUI style at runtime using the MWLOOK variable?

0

Generally, setting the MWLOOK environment variable to motif or windows in the Mainsoft for UNIX and Linux runtime environment results in the Motif or Windows style GUI display. However, if the application is linked with the linker flag /MWINIT:MWI_INITIAL_WINDOWS_LOOK or /MWINIT:MW_INITIAL_MOTIF_LOOK, the user cannot override the GUI style with the MWLOOK environment variable. You can add the above linker flag under Project Options on the Link tab of the Project Settings dialog.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123