Solved

Flickering problem while using Dialog boxes

Posted on 2004-03-23
3
316 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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
EvenOdd challenge 10 83
squareUp  challenge 22 104
copyEndy  challenge 15 55
python sqlite question 11 42
Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now