Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / April 2005

Tip: Looking for answers? Try searching our database.

MessageBox problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David I A Grant - 25 Apr 2005 16:11 GMT
Hello,

When I use MessageBox.Show(owner, ...) to display a modal dialog box the
'bong' sound is made immediately but the message box is not painted.  For
some reason, pressing the ALT key will cause the message box to appear.

The application contains around 15 windows forms, spread over all the screen
space on three monitors.  I know that the message box is not being painted
behind one of these forms as I deliberatlely left space on the screen where
it would appear and it appeared when I pressed ALT, but not before.  So it is
not an issue with the Topmost property of the forms.

Any ideas?  The problem occurs with every message box in the application.  I
think it is related to the amount of painting going on since if I minimise
all the forms in the application except the one that will display the message
box it works.  However, even when all displayed the forms appear to be
repainting correctly so I have no idea how to correct this issue...

Cheers,

David
David I A Grant - 28 Apr 2005 15:38 GMT
Does anyone have any thoughts on this? Has anyone else ever experienced this?
It has me totally stumped...  Especially as to why the ALT key should have
anything to do with it...

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.