By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,481 Members | 979 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,481 IT Pros & Developers. It's quick & easy.

Popup inherits WindowState?

P: n/a
I have a VB.NET user control which pops up a window (a form object)
when clicked. The problem is that when the parent form of my user
control is maximized, the popup is also maximized. It seems that the
WindowState property of the popup is inherited from the parent form. I
tried setting the WindowState programmatically to Normal, and this
solved the problem only partially. There is severe flickering when I
execute the following code because the user can still see the popup go
from maximized to normal state:

Popup.WindowState = FormWindowState.Normal

I tried calling this code before the popup appears on the screen but
without success. I also tried Suspend/ResumeLayout.

Any help will be greatly appreciated.

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.