Win982K Using WinXP Style File dialog

xiaoxiao2021-03-06  41

CWinXPStyleFileDialog :: CWinXPStyleFileDialog (BOOL bOpenFileDialog, LPCTSTR lpszDefExt, LPCTSTR lpszFileName, DWORD dwFlags, LPCTSTR lpszFilter, CWnd * pParentWnd): CFileDialog (bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd) {DWORD dwVersion = GetVersion (); // Get BUILD NUMBERS for Windows NT or Win32S IF (dWVersion <0x80000000) // Windows NT M_OFN.LSTRUCTSIZE = 88; ELSE // Win98 / 95 / 32S m_ofn.lstructSize = 76;

}

转载请注明原文地址:https://www.9cbs.com/read-61251.html

New Post(0)