Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question// hDC = DC de ta fenetre // hVirtuel fait 1*1 px en monochrome hVirtuel = CreateCompatibleDC(hDC); // on crée un bmp compatible avec hDC de 200*200(exemple) hBmp = CreateCompatibleBitmap(hDC, 200, 200); // on le selectionne dans hVirtuel SelectObject(hVirtuel, hBmp);