摘要:
显示一张位图的示例代码: 1 #include <windows.h> 2 3 int WINAPI WinMain( __in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in_opt LPSTR lpCmdLine, __in int nShowCmd ) 4 { 5 HDC hdc= GetDC(NULL); 6 HBITMAP hmap = (HBITMAP)LoadImage(NULL,L"test.bmp",IMAGE_BITMAP,0,0,LR_LOADFROMFILE); 7 阅读全文
posted @ 2012-09-19 16:32
svolcano
阅读(451)
评论(0)
推荐(0)

浙公网安备 33010602011771号