Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 2nd, 2004, 03:12 AM
Authorized User
Join Date: Oct 2003
Location: , , New Zealand.
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default MDI Screen Flicker when childforms swapped

I have a harmless but quite ugly problem with a MDI application.

As I open multiple childforms into my MDI application, they are added as menuitems to my mainmenu control on the parent form. I can then select (bring to front) any of the childforms by using this menu system (as you can under the 'window' menu system in many applications). If the child forms are maximised when I do this, the forms 'flicker' on the screen as the selected form is brought to the front (the minimised version of the childform can just be made out during this flicker).

Does anyone know what causes this, or how to fix it?

Reply With Quote
  #2 (permalink)  
Old June 10th, 2007, 08:34 PM
Registered User
Join Date: Jun 2007
Location: Prague, , Czech Republic.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to kohinek

easy solution :), but took me a lot of toime to find it and try all possible ways :)

private void OnToolStripItemClicked(object sender, EventArgs e)
    ToolStripButton clickedButton = (ToolStripButton)sender;

    ((Form)clickedButton.Tag).Visible = false;


    ((Form)clickedButton.Tag).Visible = true;

((Form)clickedButton.Tag) is a MDIChild Form ....

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mdi form check to see if childforms are open RainX C# 2005 0 August 28th, 2007 12:55 PM
Screen Flicker SerranoG Access 1 May 16th, 2004 03:15 PM
DataList Web Control causes screen flicker Jan_Ma BOOK: ASP.NET Website Programming Problem-Design-Solution 0 June 30th, 2003 04:39 PM
DataList Control causes screen flicker Jan_Ma Classic ASP Components 0 June 30th, 2003 04:33 PM
SmartNavigation and Screen Flicker Jan_Ma ASP.NET 1.0 and 1.1 Basics 0 June 28th, 2003 08:37 PM

All times are GMT -4. The time now is 10:59 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.