mirror of
https://github.com/fadden/ciderpress.git
synced 2024-12-01 19:50:21 +00:00
fd37bfd261
The previous version was written to work on Win98+, and used the rather gnarly ShellTree class. Since we no longer support Win98, we can now use CShellManager::BrowseForFolder(), which does exactly what we want without all the ugly code (and it looks nicer, and it integrates better with the rest of the system). We can also get rid of NewFolderDialog, which only existed to allow the user to create a folder when trudging through ShellTree. This required "upgrading" the main app object from CWinApp to CWinAppEx, but that appears to be benign. Tested on WinXP and it all seems fine.
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/*
|
|
* CiderPress
|
|
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
|
|
* See the file LICENSE for distribution terms.
|
|
*/
|
|
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#if !defined(AFX_STDAFX_H__58591A00_B642_4F26_9051_CE5BF55AC103__INCLUDED_)
|
|
#define AFX_STDAFX_H__58591A00_B642_4F26_9051_CE5BF55AC103__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#include "../app/targetver.h"
|
|
|
|
#include <stdio.h>
|
|
#include <assert.h>
|
|
#include <stdint.h>
|
|
#include <afxwin.h> // for some stuff in util lib
|
|
#include <afxcmn.h>
|
|
#include <afxwinappex.h>
|
|
#include <afxshellmanager.h>
|
|
|
|
#include "../util/UtilLib.h"
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_STDAFX_H__58591A00_B642_4F26_9051_CE5BF55AC103__INCLUDED_)
|