A
ataha
I am developing a medical application and it turns out that due to FDA
requirements, I need to block regular users from accessing normal
functions of the PDA. Since all my tabs and so on are already built
with a certain size of screen in mind (and because the program
administrator would need access to the normal PDA functions like the
bluetooth manager), I decided not to try to fullsize the application,
and used the following
IntPtr taskWindow = FindWindow("HHTaskBar", null);
if (taskWindow != IntPtr.Zero)
{
EnableWindow(taskWindow, false);
}
This worked fine. Except it disabled all the hardware keys too. This
was great, except that I need the record button to work as the PDA will
be equipped with a laser barcode scanner that will read patient and
nurse barcodes into the application.
Is it possible to enable or capture just the record button, or is there
a way to disable the task bar without disabling all the buttons?
thanks in advance
Taha
requirements, I need to block regular users from accessing normal
functions of the PDA. Since all my tabs and so on are already built
with a certain size of screen in mind (and because the program
administrator would need access to the normal PDA functions like the
bluetooth manager), I decided not to try to fullsize the application,
and used the following
IntPtr taskWindow = FindWindow("HHTaskBar", null);
if (taskWindow != IntPtr.Zero)
{
EnableWindow(taskWindow, false);
}
This worked fine. Except it disabled all the hardware keys too. This
was great, except that I need the record button to work as the PDA will
be equipped with a laser barcode scanner that will read patient and
nurse barcodes into the application.
Is it possible to enable or capture just the record button, or is there
a way to disable the task bar without disabling all the buttons?
thanks in advance
Taha