10-20-2009 09:54 AM
I'm working on a control application. When the application enters a particular mode I want it to lock out the GUI controls but still display status on the GUI. I know how to do this with .NET applications but am at a loss with a Labwindows appliction.
Does anybody know how I can grey out the GUI controls including selected drop down menu options?
Thanks!
10-20-2009 10:04 AM
Have a look at SetCtrlAttribute(...ATTR_DIMMED...) and SetMenuBarAttribute(...ATTR_DIMMED...)
JR
10-20-2009 10:07 AM - edited 10-20-2009 10:09 AM
int SetCtrlAttribute (int panelHandle, int controlID, int controlAttribute, ...);
for example.....
SetCtrlAttribute( mainPanel, Main_PANEL_Zoom_In_Button_R, ATTR_DIMMED, TRUE);
jr beat me to it