00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012
#include "utils\u_utils.h"
00013
00014 class TProtocolDiffractometryDlg :
public TProtocolDlg,
public TModalDlg
00015 {
00016
public:
00017
#include "protocol\TProtocolDiffractometryParameter.h"
00018
00019
TProtocolDiffractometryDlg( LPSTR,
int idDlg= -1 );
00020
00021
private:
00022 BOOL Dlg_OnInit( HWND, HWND, LPARAM );
00023
void Dlg_OnDestroy( HWND );
00024
void Dlg_OnCommand( HWND,
int, HWND, UINT );
00025 BOOL Dlg_OnSysCommand( HWND,
int, LPARAM );
00026 BOOL
CanClose(
void );
00027
void Dlg_OnLButtonUp( HWND,
int,
int, UINT );
00028
void Dlg_OnLButtonDown( HWND, UINT,
int,
int, UINT );
00029
void Dlg_OnMouseMove( HWND,
int,
int, UINT );
00030
void Dlg_OnRButtonDown( HWND, UINT,
int,
int, UINT );
00031
void Dlg_OnNotify( HWND,
int, UINT, UINT );
00032
00033
void ShowDialog(
int,
int );
00034
00035
void InitializeDlgItems( HWND );
00036
void SaveDlgItems( HWND );
00037
00038
int GetDlg(
int );
00039 BOOL ManageDlg( HWND,
int, TAction );
00040 BOOL TestPflichtDlg( HWND );
00041
void RefreshCombobox(
void );
00042
void RefreshScanachse(
int );
00043
void RefreshDetektor(
void );
00044
00045
00046
00047
00048
00049
00050 LPSTR GetDlgItemText_LfdNr( HWND, LPSTR );
00051 BOOL TestDlgItemText_LfdNr( HWND, LPSTR );
00052
void SetDlgItemText_LfdNr( HWND );
00053
void EnableDlgItem_LfdNr( BOOL );
00054
00055 BOOL
IsDlgItemModify(
void );
00056
00057
int GetStatusId(
void );
00058
int GetDatumId(
void );
00059
00060
void EnableAreaScan( BOOL );
00061
void EnableOmega2Theta( BOOL );
00062
void EnableContinuous( BOOL );
00063
void EnablePSD( BOOL );
00064
00065 BOOL PSD, Continuous, Omega2Theta, AreaScan;
00066
int Scanachse, ScanachseAnzahl;
00067
00068 HWND hScanartList, hScanmethodeList, hScantypList, hScanachseList;
00069 HWND hAArtList, hDetektorList, hMonitorList;
00070
00071
enum {ProbeSkizzeDlg= 1, MessungDlg, ScanDlg, BlendeAbsorberDlg,
00072 DetektorDlg, BemerkungDlg};
00073 };
00074
00075
00076
00077