Disabling controls without changing their appearance

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is there any way to disable the controls on a form without changing their appearance? i would like to make it impossible for a user to click buttons and edit text boxes while the controls retain their normal appearance. When disabled, the text in text boxes becomes difficult to read

also, is there a way to disable the mouse cursor at certain times

thanks
 
No, b/c the thinking is that you don't want the user to click it if its
disabled so you give them a UI Cue. You could set module level booleans
though, m_Enabled and on each control's events, if (!m_Enabled){return;}

This would effectively do the same thing.
Don said:
is there any way to disable the controls on a form without changing their
appearance? i would like to make it impossible for a user to click buttons
and edit text boxes while the controls retain their normal appearance. When
disabled, the text in text boxes becomes difficult to read.
 
Back
Top