Discussion in 'Questions (Windows Mobile)' started by schimanski, Jun 8, 2009.

  1. schimanski

    schimanski Well-Known Member Licensed User

    Is there a way to programm a simple keylock? I want to take my pocket-pc in my pocket during a running basic4ppc-gps-application.

  2. Erel

    Erel Administrator Staff Member Licensed User

  3. schimanski

    schimanski Well-Known Member Licensed User

    Catch the OK-Button


    I have used the kiosk-application for a keylock, but I can't catch the OK-Button. With the OK-Button, my applications will always be closed. Is there a way to catch the OK-Button or to prevent, that the application always is closing, when the OK-Button is unintentional pressed?
  4. specci48

    specci48 Well-Known Member Licensed User

    If an application is closed, the main form is closed. So you can catch this termination during the sub MainForm_Close Event. The instruction you are looking for is Form.CancelClose.

  5. Saj

    Saj Active Member Licensed User

    Is it not possible to hide the task bar at the top of the screen? That way the 'X'/'OK' button at the top right hand corner would not be visible to accidentally click on in the first place.
  6. ExcludeReality

    ExcludeReality Active Member Licensed User

    You can set your app in fullscreen with the FormLib library
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice