Saturday 2 September 2017 photo 21/42
|
Lpstrfiletitle example cover: >> http://bit.ly/2eNbZPI << (download)
openfilename example
getsavefilename example
lpstrfilter example
ofn_overwriteprompt
ofn_nochangedir
lpstrdefext
lpstrfilter
openfilename c++
If the OFN_EXPLORER flag is set, the system uses the specified template to create a dialog box The size, in characters, of the buffer pointed to by lpstrFileTitle.
lpstrFileTitle: Long pointer to a buffer that receives the file name and extension For example, if lpstrFile points to the following string, c:dir1dir2file.ext, this
Please find this simple example : TCHAR* lpszBuffer = new TCHAR[256];. if ( lpszBuffer != NULL ). {. OPENFILENAME co = {0};. co.lStructSize
Annons