Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. How to Resize the form and open the touch keyboard on screen.

How to Resize the form and open the touch keyboard on screen.

Scheduled Pinned Locked Moved Mobile
csharpcomdesigntutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rizwan Bashir
    wrote on last edited by
    #1

    Hi I am new to mobile applications and working on my first ever sample application. Development environement .Net 2005 Target Mobile : k-Jam with windows 5.0 My Problems are the following. 1. The application is single form, So when I resize the form in design time and install on my PPC it always cover the complete screen instead of orignal size which is given while designing. 2. There is one textbox on my form, When It get focus I need to show the screen keyboard so user can write any thing using touch screen instead of using qwerty keyboard. Any idea's Regards

    Rizwan Bashir <a href="http://www.alm-soft.com/">ALM Soft</a>[<a href="http://www.alm-soft.com/" target="_blank" title="New Window">^</a>]

    S C 2 Replies Last reply
    0
    • R Rizwan Bashir

      Hi I am new to mobile applications and working on my first ever sample application. Development environement .Net 2005 Target Mobile : k-Jam with windows 5.0 My Problems are the following. 1. The application is single form, So when I resize the form in design time and install on my PPC it always cover the complete screen instead of orignal size which is given while designing. 2. There is one textbox on my form, When It get focus I need to show the screen keyboard so user can write any thing using touch screen instead of using qwerty keyboard. Any idea's Regards

      Rizwan Bashir <a href="http://www.alm-soft.com/">ALM Soft</a>[<a href="http://www.alm-soft.com/" target="_blank" title="New Window">^</a>]

      S Offline
      S Offline
      sven it
      wrote on last edited by
      #2

      Do you want to have a Form with the "normal" - size, or an form wich is like a popup window? To show the softkeyboard you have to create an inputpanel on your form. Microsoft.WindowsCE.Forms.InputPanel myInputPanel = new Microsoft.WindowsCE.Forms.InputPanel(); then on the gotFocus of the Textbox myInputPanel.Enabled = true; that´s it Regards

      1 Reply Last reply
      0
      • R Rizwan Bashir

        Hi I am new to mobile applications and working on my first ever sample application. Development environement .Net 2005 Target Mobile : k-Jam with windows 5.0 My Problems are the following. 1. The application is single form, So when I resize the form in design time and install on my PPC it always cover the complete screen instead of orignal size which is given while designing. 2. There is one textbox on my form, When It get focus I need to show the screen keyboard so user can write any thing using touch screen instead of using qwerty keyboard. Any idea's Regards

        Rizwan Bashir <a href="http://www.alm-soft.com/">ALM Soft</a>[<a href="http://www.alm-soft.com/" target="_blank" title="New Window">^</a>]

        C Offline
        C Offline
        Christopher Fairbairn
        wrote on last edited by
        #3

        Hi,

        Rizwan Bashir wrote:

        I am new to mobile applications and working on my first ever sample application.

        I have a couple of blog posts which might help with these issues.

        Rizwan Bashir wrote:

        1. The application is single form, So when I resize the form in design time and install on my PPC it always cover the complete screen instead of orignal size which is given while designing.

        This is by design. The Windows Mobile design guidelines suggest all application windows are fullscreen. You will notice this is how all the built in applications behave. I wouldn't suggest breaking this convention. However if you do want to give it a go, take a look at a blog posting of mine titled "Creating non full screen forms and custom MessageBoxes" http://www.christec.co.nz/blog/archives/134[^]. But the entire technique is rather fragile and not worth the effort in my opinion...

        Rizwan Bashir wrote:

        2. There is one textbox on my form, When It get focus I need to show the screen keyboard so user can write any thing using touch screen instead of using qwerty keyboard.

        For this you should investigate the InputPanel control within the toolbox of the forms designer. A blog post of mine called "Manage soft input panel (SIP)" available at http://www.christec.co.nz/blog/archives/42[^] may be of help. Especially the section titled "Automatic SIP Popup". Hope this helps, Christopher Fairbairn Windows Mobile Development blog http://www.christec.co.nz/blog/

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups