|
Sujet : Acquisition d'une zone d'écran au format DIB |
| bicoun2 |
[:eniac] Allez svp
vous ne ferez pas croire que personne n'a jamais fait ça
[:eniac] |
| bicoun2 |
Je voudrais récupérer une zone de l'écran au format DIB.
Je ne comprend rien aux explications du SDK : HELP !!!
Jusque la, je faisais comme ça:
ghdcScreen = CreateDC("DISPLAY", NULL, NULL, NULL); ghdcCompatible = CreateCompatibleDC(ghdcScreen); ghbmScreen = CreateCompatibleBitmap(ghdcScreen, 1024, 768); SelectObject(ghdcCompatible, ghbmScreen); BitBlt(hdcCompatible, 0, 0, XEnd-XTop, YEnd-YTop, hdcScreen, XTop,YTop, SRCCOPY); Mais je ne recupere pas au format DIB.
Donc, ca ne doit pas changer grand chose, aidez moaaaaa. |