home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1992 November
/
CICA_MS_Windows_CD-ROM_Walnut_Creek_November_1992.iso
/
win3
/
desktop
/
profft
/
profftid.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-26
|
2KB
|
73 lines
#ifndef __PROFFTID_H
#define __PROFFTID_H
// Type constants
#define profftcomplexitem float
// Misc. numeric constants
#define SCROLLFACTOR 100
#define MAX_CAPTION_LENGTH 100
#define MAX_RUBBER_SIZE 32
#define MS_BUG 7
#define GMEM_PROFFTDATA GMEM_MOVEABLE | GMEM_ZEROINIT
// Misc. string constants
#define APP_NAME "PROfft"
#define ERROR_CAPTION "PROfft - Error"
#define HELP_FILE_NAME "HJELP.HLP"
// CommandMenu constants
#define CM_HELPINDEX 600
#define CM_HELPABOUTPROFFT 601
#define CM_TRANSFFT 300
#define CM_TRANSIFFT 301
#define CM_TRANSINVERT 302
#define CM_FILTERLOWPASS 400
#define CM_FILTERHIGHPASS 401
#define CM_FILTERBANDPASS 402
#define CM_FILTERBANDSTOP 403
#define CM_FILTERBWLOWPASS 404
#define CM_FILTERBWHIGHPASS 405
#define CM_FILTERFREEHAND 406
#define CM_FILTERCOMPLEXOPTIONS 410
#define CM_FILTEROPTIONS 420
#define CM_WINDOWRESIZECHILDREN 501
// Button constants
// MessageBox constants
#define MB_ERROR MB_ICONEXCLAMATION | MB_OK
// Filter dialogbox constants
#define DB_EDITFREQUENCYLENGTH 10
#define DB_EDITFREQUENCY1 101
#define DB_EDITFREQUENCY2 102
#define DB_EDITFREQUENCY 103
#define DB_SCROLLFREQUENCY1 111
#define DB_SCROLLFREQUENCY2 112
#define DB_SCROLLFREQUENCY 113
#define FILTERDIALOGBOXDISTANCE 5
// PROfft Options dialogbox
#define DB_SCROLLRUBBER 101
#define DB_RADIOCIRCLERUBBER 105
#define DB_RADIOSQUARERUBBER 106
#define DB_GROUPRUBBERSHAPE 120
#define DB_TEST 130
#define DB_TOGGLEAUTORESCALE 110
#define DB_TOGGLESHIFTCENTER 111
// Progress dialogbox constants
#define DB_TEXTLENGTH 40
#define DB_FILTERCOLOUR RGB(255,0,0)
#define DB_TEXT 100
#define DB_PERCENTAGE 101
#define DB_PAINTAREA 110
#define DB_CANCELBUTTON 120
// Custom Windows messages
#define WM_SETPROGRESSTEXT WM_FIRST + 100
#define WM_SETPROGRESS WM_FIRST + 101
#endif