GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#

 Print  |  
Question:  MFC GUI without flickering

Answer: User is continuously entering some in GUI and it is doing some background processing and updating in GUI. How to do it without flickering the GUI using MFC?

Thanks,
Raja Gregory


April 04, 2008 21:24:32 #1
 TedDog   Member Since: April 2008    Total Comments: 1 

RE: MFC GUI without flickering
 
            this.SetStyle(ControlStyles.DoubleBuffer, true);
            this.SetStyle(ControlStyles.UserPaint, true);
            this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
     

 

Back To Question