locked
Default calculator in VS2008 .Net3.5 RRS feed

  • Question

  • Hi: I have a device application to deploy on a Wndows Mobile 6 handheld device. In my VS2008 coding, as soon as I created a form, it shows a default keyboard at the bottom of the form. When I run the application on my emulator I see this default calculator at the bottom. If I click it, it opens a QWERTY keboard. How can I disable this keybaord? Where can I see any code for this default keyboard. How can I add my own keyboard. Thanks.
    Thursday, January 28, 2010 10:01 PM

Answers

  • Hi syedripon,

    For remove SIP button, just call following code:

     DWORD dwState = SHFS_HIDESIPBUTTON ;
     SHFullScreen(this->m_hWnd,dwState);

    Although it is native code, we can P/Invoke it.


    Best regards,
    Guang-Ming Bian - MSFT
    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Friday, February 5, 2010 7:50 AM

All replies

  • Hi,

    Regarding removing SIP please refer to this thread
    http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesvbcs/thread/817d4c7e-d9fd-430e-b13a-9d31d55da1c4

    Hope this helps,
    Zhe Zhao
    Tuesday, February 2, 2010 5:25 AM
  • Let me explain. In my form I have a method show(). Here I am adding a menu through my coding which has only 2 menu items. Then I called mybase.show(). My SIP function is called in my onactivated function.

    ===============================================
    Imports OpenNETCF.Win32.Win32Window
    Public Class frmOutletLis
      Public Overloads Sub Show() Me)
      Me.Menu = MyMainMenu
      MyBase.Show()
    End Sub 
    Protected overrides sub onActivated (ByVal e As System.EventArgs)
      Dim hWnd As IntPtr = FindWindow(Nothing, "MS_SIPBUTTON")
      SetWindowPos(hWnd, OpenNETCF.Win32.HWND.BOTTOM, 0, 0, 0, 0, SWP.HIDEWINDOW)
    End Sub

    End Class
    ======================================================= 
    Sill I can see the Deafult QWERTY keyboard. Not helping this code.
    Thanks.

    Tuesday, February 2, 2010 2:14 PM
  • Hi syedripon,

    For remove SIP button, just call following code:

     DWORD dwState = SHFS_HIDESIPBUTTON ;
     SHFullScreen(this->m_hWnd,dwState);

    Although it is native code, we can P/Invoke it.


    Best regards,
    Guang-Ming Bian - MSFT
    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Friday, February 5, 2010 7:50 AM
  • Hi Guang-Ming:
    I am using VB code in VS2008.Net3.5. Which DLL/API will support this call?
    Please give me some code in VB. Which DLL should I import in my header.
    Thanks
    Friday, February 5, 2010 4:16 PM