OSDGetFileHBITMAP
This function opens the image file selected in OSDialog dialog.
OSDRET OSDGetFileHBITMAP(HANDLE hDialog, HBITMAP* hBmp);
Parameters
- hDialog - Dialog window descriptor.
- hBmp - Returns operation result of OSDRET type.
- Returned value - Returns operation result of OSDRET type.
Notes
To load images from the list of selected files, OSDGetNextFileHBITMAP() and OSDGetNextPathNameAndFileHBITMAP() functions are used.
Sample
OSDGetFileHBITMAP(hDialog, &pDocument->m_hBitmap);
