Problems hiding the SIP button on pocket pc

I need to hide the start and the SIP buttons for my application in pocket PC :

I could hide the start button with the below code :

Capture = true;

IntPtr hwnd = GetCapture();

Capture = false;

SHFullScreen(hwnd, SHFS_HIDESTARTICON);

However, the SIP Button is not getting hidden with the below code .Any ideas why

//Hide Keyboard

Capture = true;

IntPtr hwnd2 = GetCapture();

Capture = false;

SHFullScreen(hwnd, SHFS_HIDESIPBUTTON);

I also tried using the 'SipShowIM(0)' following the below link to hide the SIP button but no luck either.

http://www.c-sharpcorner.com/Code/2002/May/SIPOnPocketPC.asp

Any ideas

Thanks

Smitha



Answer this question

Problems hiding the SIP button on pocket pc

  • Norbert.Bender

    Consider removing the menu associated with the form. That would result in SIP button not shown

  • DragonWolfZ

    Thanks...realised i didnt reply to this.

    This works.

    Smitha


  • Anarchy

    How do i remove the menu associated with the form I have not actually added any menu explicitly to the form.

    Thanks

    Smitha


  • Alek Yakovlev

    Designer adds a menu to a form automatically when it creates the form. Try setting Form.MainMenu to null.

  • Problems hiding the SIP button on pocket pc