CxImage 를 이용해 리소스에서 이미지(PNG) 불러오기
HINSTANCE hinstance = AfxGetInstanceHandle();
HRSRC hResInfo = FindResource(hinstance, MAKEINTRESOURCE(IDR_PNG1), _T("PNG"));
CxImage img;
img.LoadResource(hResInfo, CXIMAGE_FORMAT_PNG, hinstance);
CxImage 를 이용해 리소스에서 이미지(PNG) 불러오기
HINSTANCE hinstance = AfxGetInstanceHandle();
HRSRC hResInfo = FindResource(hinstance, MAKEINTRESOURCE(IDR_PNG1), _T("PNG"));
CxImage img;
img.LoadResource(hResInfo, CXIMAGE_FORMAT_PNG, hinstance);