?
Solved

Flickering problem while using Dialog boxes

Posted on 2004-03-23
3
Medium Priority
?
333 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 400 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…
Suggested Courses

800 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