home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff285.lzh
/
'Liner
/
Source
/
sure.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-11-28
|
895b
|
37 lines
AreYouSure(ReqWindow) /*Displays an ARE YOU SURE? requester and waits*/
struct Window *ReqWindow; /*for an OK or CANCEL. (Uses AutoRequest() )*/
{
struct IntuiText Body,Positive,Negative;
Body.FrontPen=2;
Body.BackPen=1;
Body.DrawMode=JAM1;
Body.LeftEdge=8;
Body.TopEdge=8;
Body.ITextFont=NULL;
Body.IText="Are you sure?";
Body.NextText=NULL;
Positive.FrontPen=2;
Positive.BackPen=1;
Positive.DrawMode=JAM1;
Positive.LeftEdge=6;
Positive.TopEdge=3;
Positive.ITextFont=NULL;
Positive.IText="OK";
Positive.NextText=NULL;
Negative.FrontPen=2;
Negative.BackPen=1;
Negative.DrawMode=JAM1;
Negative.LeftEdge=6;
Negative.TopEdge=3;
Negative.ITextFont=NULL;
Negative.IText="Cancel";
Negative.NextText=NULL;
return(AutoRequest(ReqWindow,&Body,&Positive,&Negative,NULL,NULL,
180,60));
}