Sounds like you are having a similar problem to what I'm trying to solve. (See my post "Dialog Box: Bitmap gets erased when a screen is dragged over.")
I have my own application, but the problem exists for my dialog box, too.
LiquidBinary, thanks for the tip on the WM_PAINT message...
OK, it's kinda lengthy, but here it is. This version actually has three bitmaps instead of the two I stated earlier, but it exhibits the same problem.
bool CMedicalDlg::DrawImages()
{
// *** DIRECTDRAW PRIMARY SURFACE CREATION ***
// Prepare specifics of the surface to be created using ddsd...
I have a dialog box that contains two bitmaps built into the dialog box user interface. While my application runs, it displays new images over the original ones. Unfortunately, when I drag a another window over the images, the original bitmaps reappear instead of the current ones. I am...
Just as another way to go about things, you may want to consider grouping your edit boxes into similar categories, then placing them in your own submenu (or sub-dialog box). This is more of a user interface management approach rather than a real answer to your question.
Considering you have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.