Solved

Flickering problem while using Dialog boxes

Posted on 2004-03-23
3
322 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nestparen challenge 4 72
splitOdd10 challenge 5 74
Controlled Assessment GCSE - desperate help needed 4 75
Is doing tutor.com teaching in my situation advisable? 2 44
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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.
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

930 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

12 Experts available now in Live!

Get 1:1 Help Now