How to make SIP control disable / invisible in Pocket PC

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.
 
T

Trevor

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.
 
T

Trevor

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Auto adjust screens on SIP invokation 2
SIP at the bottom 2
SIP without Menuber problem. 1
custom SIP with display box 1
Right-To-Left Support in Pocket PC 2003 1
Remove Sip Button 1
SIP Issues 3
Sip event? 5

Top