Locking screen (not to flip when hardware keyboard is openend)

Discussion in 'Questions (Windows Mobile)' started by corwinckler, Jan 27, 2008.

  1. corwinckler

    corwinckler Member Licensed User

    Hi

    I have seen some applications that 'freeze' the screen on portrait mode (say 240wide by 320high). This does not change when the hardware keyboard is slid open (on for example the HTC TyTN or Imate KJA/Jasjar).

    By default the screen slips over and becomes 320 wide by 240 high.

    Is there a hardware setting that can be used to stop this default behaviour? Ive seen this in example the BackGammon game that comes with the JasJar - where the screen stays portrait regardless of whether the hardware screen is slid/flipped.

    --Cor
     
  2. Cableguy

    Cableguy Expert Licensed User

  3. corwinckler

    corwinckler Member Licensed User

  4. corwinckler

    corwinckler Member Licensed User


    Thanks. Yeh. the problem with searching is finding the right keybwords. I used screen and locking and resolution, without any luck, and then posted my question. The moment I used ORIENTATION in the search it came up trumps (that was about 2 minutes after posting my question) Murphy's flaw, Im afraid.

    Regards
    --Cor
     
  5. Cableguy

    Cableguy Expert Licensed User

    I always have that same problem...sorry for the way it came out...
    Once i spent over 2 hours trying to find some forum about car pc's...
    and when I foud it, i saw that I should have been loking for pc car instead...go figure...
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    You can catch the resize event with FormLib and then use this external application to rotate the screen back.
    Make sure to test the screen size inside the Resize event so that you don't call this tool recursively.
     
Loading...