Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. antonin01

    Windows API and bitmaps

    Thanks a lot. I have already tried InvalidateRect(hwnd, NULL, TRUE) where as hwnd I tried both hwnd of the dialog box and hwnd of the rectangle on which I draw the bitmap. It erases the bitmap and does not paint it until I hide and show the dialog box. It does not get the WM_PAINT message. If I...
  2. antonin01

    Windows API and bitmaps

    Thanks a lot. I have few other questions if I may ask. Currently I display the bitmap in a normal window in a test program. I handle the WM_PAINT in the WndProc(). However, I need to display it in a control on a dialog box. So the questions are: 1. What control should I use? (frame, rectangle...
  3. antonin01

    Windows API and bitmaps

    I have just tried it. It compiles OK. When I step through it everything works. The only problem is the bitmap does not appear in the window. (I put the code in WM_CREATE.)

Part and Inventory Search

Back
Top