How do I prevent users from changing the GUI style at runtime using the MWLOOK variable?
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.