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;
}