home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
PRG
/
AESample.sit
/
AESample
/
headers
/
sample.dlog.h
< prev
next >
Wrap
Text File
|
1996-06-22
|
1KB
|
65 lines
/*
*--------------------------------------------------------------
* sample.dlog.h
*--------------------------------------------------------------
*/
#ifndef __TYPES__
#include <Types.h>
#endif
#ifndef __EVENTS__
#include <Events.h>
#endif
#ifndef __DIALOGS__
#include <Dialogs.h>
#endif
/* constants */
enum dialogIDs {
dlogViewID = 256,
dlogAboutID = 512
};
enum dialogItems {
aboutWholeArea = 5
};
enum constKeyCodes {
kHomeKey = 0x01,
kEnterKey = 0x03,
kEndKey = 0x04,
kHelpKey = 0x05,
kDeleteKey = 0x08,
kPageUpKey = 0x0B,
kPgDownKey = 0x0C,
kReturnKey = 0x0D,
kEscapeKey = 0x1B,
kLeftArrow = 0x1C,
kRightArrow = 0x1D,
kUpArrow = 0x1E,
kDownArrow = 0x1F,
kOptionKey = 0x3A,
kCmmndKey = 0x37,
kCntrlKey = 0x3B,
kFrwdDelete = 0x7F
};
enum constViewDialogItems {
diSendIt = 1,
diClearIt = 2,
diGetNew = 3,
diFileName = 4,
diVRefNum = 5,
diParentID = 6,
diCreator = 7,
diFileType = 8,
diInfoRect = 14
};
/* sample.dlog.c prototypes */
extern Boolean SetUpMyDialogs(void);
extern void DoDialogs(EventRecord *);
extern void DoModelessDlgKeyDown(EventRecord *, short *);
extern void OpenMyViewDialog(const FSSpecPtr);
extern void DoMyViewDialog(const short);
extern void DoAboutMe(void);
extern void FrameBoldButton(DialogRef, const short);