How to make SIP control disable / invisible in Pocket PC

  • Thread starter Thread starter Ranjit
  • Start date Start date
R

Ranjit

Hi,

I am working in .Net CF 2.0. I need to make the SIP control disable (or)
invisible in a form. So that user can't use this control any more.

How can i do this.
 
Ranjit said:
Hi,

I am working in .Net CF 2.0. I need to make the SIP control disable (or)
invisible in a form. So that user can't use this control any more.

How can i do this.

Platform Invoke the SHFullScreen function.

BOOL SHFullScreen(HWND hwndRequester, DWORD dwState);


//
// Valid states
//

#define SHFS_SHOWTASKBAR 0x0001
#define SHFS_HIDETASKBAR 0x0002
#define SHFS_SHOWSIPBUTTON 0x0004
#define SHFS_HIDESIPBUTTON 0x0008
#define SHFS_SHOWSTARTICON 0x0010
#define SHFS_HIDESTARTICON 0x0020

You are interested in the SHFS_HIDESIPBUTTON state.
 
Ranjit said:
Hi,

I am working in .Net CF 2.0. I need to make the SIP control disable (or)
invisible in a form. So that user can't use this control any more.

How can i do this.

Platform Invoke the SHFullScreen function.

BOOL SHFullScreen(HWND hwndRequester, DWORD dwState);


//
// Valid states
//

#define SHFS_SHOWTASKBAR 0x0001
#define SHFS_HIDETASKBAR 0x0002
#define SHFS_SHOWSIPBUTTON 0x0004
#define SHFS_HIDESIPBUTTON 0x0008
#define SHFS_SHOWSTARTICON 0x0010
#define SHFS_HIDESTARTICON 0x0020

You are interested in the SHFS_HIDESIPBUTTON state.
 
Back
Top