1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Parinput::Parinput(void *lp,int DLG_ID)
{
switch(DLG_ID)
{
case _DLG_PAR:
lppar=(Parameters *)lp;
lpProc = MakeProcInstance((FARPROC)(Parinput::pardlg),hAppInst);
DialogBoxParam(hAppInst,"DLG_PARINPUT",hFrameWnd,lpProc,(long)this);
break;
case _DLG_FLOAT:
real=(float *)lp;
lpProc = MakeProcInstance((FARPROC)(Parinput::floatdlg),hAppInst);
DialogBoxParam(hAppInst,"DLG_BASICINPUT",hFrameWnd,lpProc,(long)this);
break;
case _DLG_BACKSUB:
lpbd=(Bound *)lp;
lpProc = MakeProcInstance((FARPROC)(Parinput::backsubdlg),hAppInst);
DialogBoxParam(hAppInst,"DLG_BACKSUBTRACT",hFrameWnd,lpProc,(long)this);
break;
case _DLG_NORM:
lpbd=(Bound *)lp;
lpProc = MakeProcInstance((FARPROC)(Parinput::normdlg),hAppInst);
DialogBoxParam(hAppInst,"DLG_NORMALIZE",hFrameWnd,lpProc,(long)this);
break;
}
}
|