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 strongm 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. patapumbum

    Passing values between dialogs

    declare the variable that you want to access as "public". Are you sure you can acces the instance of the first dialog in the member functions of the second dialog? Have you included the header of the first dialog into the .cpp of the second?
  2. patapumbum

    Drawing in a Dialog Box, outside of OnPaint()

    I would like to insert a small bitmap in a dialog box that already has a background(another bitmap) at some coordonates. In essence, I would like to simulate an image mouvement. I can do this in 2 steps: 1. I delete the image at the previous coordonates 2. I insert the bitmap at the new...
  3. patapumbum

    Drawing in a Dialog Box, outside of OnPaint()

    Thnks for the advise. I still have this problem: I'm trying to move an image on the background of the dialog box. I do this by calling a function from the OnPaint function. The thing is that I want to redraw only one part of the window, keeping the rest of the backround unchanged. I've read some...
  4. patapumbum

    Drawing in a Dialog Box, outside of OnPaint()

    Hy, I am not very familiar with visual c++ and because of this i tried without succes to write a function that can draw into a dialog box, using CClientDC. It looks like this: void CDesDlg::Deseneaza(int x, int y) { CClientDC dc(this); CDC dcMem; dcMem.CreateCompatibleDC(&dc)...

Part and Inventory Search

Back
Top