Static Control Related Dialog Functions

 

COS.LoadPictureControl - Attaches the specified bitmap file to the specified dialog frame control

 

On Entry:          <cosCtlId>                   contains the control ID

 

<cosFileName$>          contains the bitmap filename

 

<cosDirName$>          contains the bitmap directory (LOAD.DIBPIC only)

 

<cosState>                   contains the fitting style

cosPIC.CROP crops the image portion outside of the control

cosPIC.STRETCH) stretches picture image to fit control

 

On Exit:            <cosError>                  NOERROR

FILENOTFOUND

 

 

COS.LoadPictureControlEx - Same as above but uses a DOS filename

 

<cosFileSpec$>           contains an ASCIIZ, NULL terminated (“@00@”) DOS filename

On Entry: