Solved

Flickering problem while using Dialog boxes

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…

791 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