Disable user input

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!
 
P

Paul G. Tobey [eMVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top