Answered by:
MessageBox sometimes hidden behind the main form

Question
-
Hi,
messagebox sometimes hidden behind the main form how to bring it in front of the main form always.Is there any setting required for that as my o.s is windows 7 i am working in c# windows forms, waiting for the reply
salman- Moved by CoolDadTx Friday, December 30, 2011 2:48 PM Winforms related (From:Visual C# General)
Friday, December 30, 2011 9:14 AM
Answers
-
Hi,
See this thread: http://social.msdn.microsoft.com/forums/en-US/winforms/thread/cad8d804-e06f-451a-8b0f-0a37fb8dc932
Mark good replies as helpful and correct ones as answers! - http://blog.filipekberg.se- Marked as answer by Helen Zhou Sunday, January 8, 2012 9:15 AM
Friday, December 30, 2011 9:24 AM -
Hi mohammad,
Do you want other part can be actived/clicked or not when the messagebox is on top? If you other part can be working only after the messagebox closed, then you are actually meaning Dialogbox, so you need to make your own messagebox to be a form, and then call the form's ShowDialog() method will do.
Sincerely,
Helen Zhou [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by Helen Zhou Sunday, January 8, 2012 9:16 AM
Monday, January 2, 2012 6:32 AM
All replies
-
Hi,
See this thread: http://social.msdn.microsoft.com/forums/en-US/winforms/thread/cad8d804-e06f-451a-8b0f-0a37fb8dc932
Mark good replies as helpful and correct ones as answers! - http://blog.filipekberg.se- Marked as answer by Helen Zhou Sunday, January 8, 2012 9:15 AM
Friday, December 30, 2011 9:24 AM -
Thanks Filip for your reply
salmanFriday, December 30, 2011 9:31 AM -
No problem!
Did it solve your problem?
Mark good replies as helpful and correct ones as answers! - http://blog.filipekberg.seFriday, December 30, 2011 1:22 PM -
Hi mohammad,
Do you want other part can be actived/clicked or not when the messagebox is on top? If you other part can be working only after the messagebox closed, then you are actually meaning Dialogbox, so you need to make your own messagebox to be a form, and then call the form's ShowDialog() method will do.
Sincerely,
Helen Zhou [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by Helen Zhou Sunday, January 8, 2012 9:16 AM
Monday, January 2, 2012 6:32 AM