I just trying to create screenshot when I click button. code below:
void CPScreen::screenshot(POINT a, POINT b) { HDC hScreen = GetDC(HWND_DESKTOP);;