case WM_PAINT: { if(g_flag==1) { UINT Dx=10,Dy=75,DWidth=1024,DHeight=768; hdc = BeginPaint(hDlg, &ps); HDC Dhdc=GetWindowDC(hDlg); StretchDIBits(Dhdc,Dx,Dy,DWidth,DHeight,0,0,g_Width,g_Height,g_pRGB_Buffer,&g_Bitmapinfo,DIB_RGB_COLORS,SRCCOPY); DeleteDC(hdc); DeleteDC(Dhdc); } // TODO: Add any drawing code here... EndPaint(hDlg, &ps); }
DLL
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)