home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1991
/
10
/
ps.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-02-26
|
1KB
|
59 lines
#include "windows.h"
#ifdef RC_INVOKED
#define ID(id) id
#else
#define ID(id) MAKEINTRESOURCE(id)
#endif
#define NOID -1 /* for dialog controls */
/* Menu IDs */
#define IDM_ABOUT 1001
/* Dialog IDs */
#define IDD_MAIN ID(1001)
#define IDD_BROWSE ID(1002)
#define IDD_ADDEXT ID(1003)
#define IDD_MODEXT ID(1004)
#define IDD_ABOUT ID(1005)
/* Control IDs */
#define IDC_ASSOC 2001
#define IDC_CUSTOM 2004
#define IDC_LIST_TITLE 2005
#define IDC_LIST_BOX 2006
#define IDC_ADD 2007
#define IDC_MODIFY 2008
#define IDC_REMOVE 2009
#define IDC_EXIT 2100
#define IDC_COMMAND 2201
#define IDC_EXTENSION 2202
#define IDC_BROWSE 2203
/* Misc defines */
/* current mode (listbox contents) */
#define EXTENSION 1
#define CUSTOM 2
/* initial mode for Extension dialog */
#define ADD 1
#define EDIT 2
#define MAXFILESIZE 0xAFC8 /* maximum file size 45K */
extern HANDLE hHourGlass; /* Handle to hourglass cursor */
extern HANDLE hSaveCursor; /* Handle to saved cursor */
extern char str[255];
extern char szProgName[128];
extern BOOL FAR PASCAL BrowseDlg (HWND, WORD, WORD, LONG);