Disable user input

  • Thread starter Thread starter intelinside
  • Start date Start date
I

intelinside

Hi to all,

a simple question for my current developing session on a CE 4.2 device
(i user CF 2.0 sp1).
When from the main form (showed as dialog) i want to open a new form
(in dialog mode) exist a way to 'disable' user input during loading and
re-enable after showed form ?

Thank you!
 
I suppose that you could use a structure like ApplicationEx and
IMessageFilter in OpenNETCF Smart Device Framework to do this
(www.opennetcf.org). Look for key and or mouse messages while things should
be disabled and ignore them or something. Usually, trying to disable user
input is a bad design and you should simply disable controls that you don't
want activated by the user during some period of time.

Paul T.
 
Back
Top