Source file: /~heha/messtech/sensokom.zip/include/DIALOG.H

// Verschiedene kleine Dialoge:
// nichtmodal: Display - Tabelle - Schaltplan
// modal: Schnittstelle - Search - Transmitter - Intervall - Paar-Eingabe - Über

#if !defined(__dialog_h)
#define __dialog_h
// Aus der WUTILS.PAS:
int Limit(int x, int u, int o);
UINT InitStruct(void*str,UINT len);
int pascal vMBox(HWND, UINT, UINT, const void far*);
int cdecl   MBox(HWND, UINT, UINT,...);
void pascal SetEditFocus(HWND, UINT);
int pascal GetRadioCheck(HWND, UINT, UINT);
void EnableDlgItem(HWND, UINT, BOOL);
BOOL MoveRectIntoRect(LPRECT, const LPRECT);
void GetFullScreenRect(LPRECT);
BOOL MoveRectIntoFullScreen(LPRECT);
#ifndef OFN_LONGNAMES
# define OFN_LONGNAMES 0x200000L
#endif
#ifndef __WIN32__
# define _stdcall _cdecl	// Parameter-Reihenfolge halten!
#endif
BOOL _stdcall Line(HDC dc, int x1, int, int, int);	//das ewig fehlende!
//Koordinatentransformation
int fitrafo(float x, float a, float e, int A, int E);
int iitrafo(int x, int a, int e, int A, int E);
//Für's Komma
long exp10(int e);
//Gleitkomma-Editfenster
BOOL GetDlgItemFloat(HWND Wnd, UINT id, float*z);
void SetDlgItemFloat(HWND Wnd, UINT id, int komma, float z);
//Sanduhr ein/ausschalten (unbedingt paarweise rufen!)
void SetWaitCursor(HWND Wnd, BOOL ShowWait);

/*=========== nichtmodal =========*/
extern HWND DisplayDlg;
extern POINT DisplayDlgPos;
BOOL CALLBACK DisplayDlgProc(HWND, UINT, WPARAM, LPARAM);
//WM_USER: lParam=AntwortString

extern HWND TabelleDlg;
extern POINT TabelleDlgPos;
BOOL CALLBACK TabelleDlgProc(HWND, UINT, WPARAM, LPARAM);
//WM_INITDIALOG: lParam=Adresse, WM_USER: lParam=AntwortString

#define WM_SET_MESSART (WM_USER+100)
extern HWND SchaltplanDlg;
extern POINT SchaltplanDlgPos;
BOOL CALLBACK SchaltplanDlgProc(HWND, UINT, WPARAM, LPARAM);
//WM_INITDIALOG: lParam=Messart, WM_SET_MESSART: lParam=neue Messart


/*=========== modal =========*/
BOOL CALLBACK SchnittstelleDlgProc(HWND, UINT, WPARAM, LPARAM);
//WM_INITDIALOG: lParam=LPSTR DdeServer (Puffer für 31 Zeichen)

BOOL CALLBACK SearchDlgProc(HWND, UINT, WPARAM, LPARAM);

BOOL CALLBACK TransmitterDlgProc(HWND, UINT, WPARAM, LPARAM);
//WM_INITDIALOG: lParam=Adresse

typedef struct {	// Zeiger-Parameter für DialogBoxParam
 int count;		// Anzahl der Messungen
 int elaps;		// Zwischenzeit in Sekunden
}INTERVALL, far *LPINTERVALL;
BOOL CALLBACK IntervallDlgProc(HWND, UINT, WPARAM, LPARAM);
//WM_INITDIALOG: lParam=LPINTERVALL

typedef struct {
 LPCSTR title, v1, v2;	// 3 Strings oder String-IDs, 0 wenn "min" und "max"
 float *z1, *z2;	// 2 Zahlen
 BOOL sort;		// Sortierung (z1<=z2) gewünscht?
 int komma;		// Anzuzeigende Kommastellen, negativ: ohne Vorgabe!
}PAIRINPUT, far*LPPAIRINPUT;
BOOL CALLBACK PairInputDlgProc(HWND, UINT, WPARAM, LPARAM);

int _stdcall PairInput(HWND, LPCSTR, LPCSTR, LPCSTR, float*, float*, BOOL, int);

BOOL CALLBACK AboutDlgProc(HWND, UINT, WPARAM, LPARAM);
#endif

Detected encoding: ANSI (CP1252)4
Wrong umlauts? - Assume file is ANSI (CP1252) encoded