일반 마이크로윈도우 영상뿌리는거 다시 질문 올립니다~
2003.11.14 04:13
case WM_PAINT:
printf("Count = %d
", iCount++);
GetClientRect(hwnd, &rc);
hdc = BeginPaint(hwnd, &ps);
hbmp = CreateCompatibleBitmap(hdc, rc.right, rc.bottom);
hbmpOrg = SelectObject(hdc, hbmp);
DrawDIB(hdc, 0, 0, &g_imagehdr);
DeleteObject(SelectObject(hdc, hbmpOrg));
EndPaint(hwnd, &ps);
g_iPainting = 0;
return 0;
이런식으로 뿌렸구요~
프레임버터에 직접뿌린다는 말이 이해가 잘안가는데여 자세하게
설면 부탁드립니다... ^^"
printf("Count = %d
", iCount++);
GetClientRect(hwnd, &rc);
hdc = BeginPaint(hwnd, &ps);
hbmp = CreateCompatibleBitmap(hdc, rc.right, rc.bottom);
hbmpOrg = SelectObject(hdc, hbmp);
DrawDIB(hdc, 0, 0, &g_imagehdr);
DeleteObject(SelectObject(hdc, hbmpOrg));
EndPaint(hwnd, &ps);
g_iPainting = 0;
return 0;
이런식으로 뿌렸구요~
프레임버터에 직접뿌린다는 말이 이해가 잘안가는데여 자세하게
설면 부탁드립니다... ^^"



