BitBlt(); 's parameters
I'm making a memory HDC( screen buffer) and I understand everything excepthow to use BitBlt(); . I looked on MSDN \and it says its parameter's but most of them are coordnates and all. How would I find out what these coordinates are with 2 compatiable DCs(made using CreateCompatableDC(); .) Any help is much apprieciated.
If your buffer is the same dimensions as your client area, then you'll want to do
Can also use
HGDIOBJ = Your bitmap;
int = sizeof(BITMAP);
BITMAP = &Bitmap
BITMAP is a structure that will be filled with the details of the bitmap including width and height.