HBITMAP hbmp = (HBITMAP)::LoadImage(AfxGetInstanceHandle(),
"c:\\Station.bmp", IMAGE_BITMAP, 0, 0, LR_CREATEDIBSECTION|LR_LOADFROMFILE);if( hbmp == NULL ) return FALSE;CBitmap m_bmp;m_bmp.Attach( hbmp );本文共 274 字,大约阅读时间需要 1 分钟。
HBITMAP hbmp = (HBITMAP)::LoadImage(AfxGetInstanceHandle(),
"c:\\Station.bmp", IMAGE_BITMAP, 0, 0, LR_CREATEDIBSECTION|LR_LOADFROMFILE);if( hbmp == NULL ) return FALSE;CBitmap m_bmp;m_bmp.Attach( hbmp );转载于:https://www.cnblogs.com/songtzu/archive/2013/01/05/2845069.html