Solved

Flickering problem while using Dialog boxes

Posted on 2004-03-23
3
324 Views
Last Modified: 2008-03-17
Hi,
    I m a student of MCA final year and I m working in VC++. I am using a dialog based( 8 dialog boxes) application. I used BMP's for the background and for every button in the application.
 The problem is that whenever I use the DoModal(), to show the next dialog, I get the flickering problem. Anyone know about this problem ??
Thanks in advance.
Please reply soon..

Sunil Joshi
0
Comment
Question by:sunil_djoshi
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 100 total points
ID: 10657901
Please show your code - how do you draw background.
If you draw background in WM_PAINT message handler, overwrite OnEraseBkgnd function and return TRUE without calling of base class function. Use WS_CLIPCHILDREN style for the dialog.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A short article about problems I had with the new location API and permissions in Marshmallow
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question