Groups | Blog | Home
all groups > dotnet compact framework > october 2004 >

dotnet compact framework : set sip location...


Alex Feinman [MVP]
10/28/2004 10:46:12 AM
[quoted text, click to view]

Yes, it is.

[quoted text, click to view]

You should try P/Invoking SipSetInfo:

struct SIPINFO
{
int cbSize; // Set to 48
int fdwFlags; // Set to 0
Rectangle rcVisibleDesktop; // set to 0,0,0,0
Rectangle rcSipRect;
int dwImDataSize; // Set to 0
IntPtr pvImData; // Set to IntPtr.Zero
} SIPINFO;

[DllImpot("coredll")]
extern static bool SipSetInfo(ref SIPINFO sipInfo);

Also of interest is SipSetDefaultRect(RECT*) which specifies the default
screen rect for all new instances of SIP

baramuse
10/28/2004 6:43:49 PM
Hi all :)

Almost everything is in the subject... I just want to set the location
of the SIP programatically(is that english? :p)
The Bounds property is read-only so...

Oh yes I'm dealing with a WindowsCE.net OS and using C# :)

Antonio Carpentieri
10/29/2004 1:05:01 AM
Try looking here too:
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=988

[quoted text, click to view]
baramuse
10/29/2004 11:28:08 AM
[quoted text, click to view]
Thanks a lot you both :)
AddThis Social Bookmark Button