|
-
August 20th, 2004, 02:07 PM
#1
Notify Window
Can any one help me to display Notify Window(LIKE MSN messenger window, pop up on right hand corner) on top of each other and not in front of each other?
Any Suggestions
Thanks in advance
Shash
-
August 20th, 2004, 05:22 PM
#2
You can get the necessary information to position a window from the members of
System.Windows.Forms.SystemInformation
You can then create your form in an appropriate postion and possibly make it top most, or certainly put focus to it :
Darwen.
-
August 24th, 2004, 12:21 PM
#3
Re: Notify Window
Hi
I have written the code and everything is ready from my side..but I am not getting how to display it on top of other window and NOT in front of other window?
Any Suggestions....
Thanks
Shash
-
August 24th, 2004, 05:02 PM
#4
Re: Notify Window
does the TopMost property of window helps you ?
- Software Architect
-
August 25th, 2004, 07:25 AM
#5
Re: Notify Window
Hi
I am sorry but I did not get what does TopMost property of Window mean?
Thanks
shash
-
August 25th, 2004, 04:19 PM
#6
Re: Notify Window
Okay, do you have sample code and can you attach zip file here. ?
thanks
Paresh.
- Software Architect
-
August 26th, 2004, 07:04 AM
#7
Re: Notify Window
This what information available in my code about notify window.Any suggestions Please...
StartPosition = System.Windows.Forms.FormStartPosition.Manual;
--------------------------------------------------------------------------------------------------------
// SetWindowPos()
protected const Int32 HWND_TOPMOST = -1; //-1
protected const Int32 SWP_NOACTIVATE = 0x0010; //0x0010
--------------------------------------------------------------------------------------------------------
// user32.dll
[DllImport ("user32.dll")]
protected static extern bool ShowWindow (IntPtr hWnd, Int32 flags);
[DllImport ("user32.dll")]
protected static extern bool SetWindowPos (IntPtr hWnd, Int32 hWndInsertAfter, Int32 X, Int32 Y, Int32 cx, Int32 cy, uint uFlags);
Thanks
shash
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|