Hi
First of all, excuse me. I don’t speak english well.
I’m learning how to write .Net libraries and I have written a simple library to change the screen orientation and to invoke the touchscreen calibration utility.
GetOrientations: returns the supported orientation modes.
Modes are as follows:
0 - 0 degrees
1 - 90 degrees
2 - 180 degrees
4 - 270 degrees
If returns 0 then no rotation supported.
If returns 7 then all rotation supported.
Orientation: set the orientation mode. (See modes above)
Don’t forget to change the form size after rotate it.
Calibrate: invokes the touchscreen calibration utility.
This library only works in the device.
Please, test it.
Thanks
One question. ¿How can I hide DEVMODE struct? Because it isn’t necessary in Bb4ppc.
First of all, excuse me. I don’t speak english well.
I’m learning how to write .Net libraries and I have written a simple library to change the screen orientation and to invoke the touchscreen calibration utility.
GetOrientations: returns the supported orientation modes.
Modes are as follows:
0 - 0 degrees
1 - 90 degrees
2 - 180 degrees
4 - 270 degrees
If returns 0 then no rotation supported.
If returns 7 then all rotation supported.
Orientation: set the orientation mode. (See modes above)
Don’t forget to change the form size after rotate it.
Calibrate: invokes the touchscreen calibration utility.
This library only works in the device.
Please, test it.
Thanks
One question. ¿How can I hide DEVMODE struct? Because it isn’t necessary in Bb4ppc.
Attachments
Last edited: