13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FiliRgnFiliRgnSyntaxParametersReturn valueBOOL FillRgn(hDC, hRgn, hBrush)function FillRgn(DC: HDC; Rgn: HRgn; Brush: HBrush): Bool;This function fills the region specified by the hRgn parameter with thebrush specified by the hBrush parameter.hDChRgnhBrushHDC Identifies the device context.HRGN Identifies the region to be filled. The coordinatesfor the given region are specified in device units.HBRUSH Identifies the brush to be used to fill the region.The return value specifies the outcome of the function. It is nonzero if thefunction is successful. Otherwise, it is zero.FindAtomSyntaxATOM FindAtom(lpString)function FindAtom(Str: PChar): TAtom;This function searches the atom table for the character string pointed to bythe IpString parameter and retrieves the atom associated with that string.Parameters IpString LPSTR Points to the character string to be searched for.The string must be null-terminated.Return valueThe return value identifies the atom associated with the given string. It isNULL if the string is not in the table.FindResourceSyntaxHANDLE FindResource(hInstance, IpName, IpType)function FindResourceOnstance: THandle; Name, ResType: PChar):THandle;This function determines the location of a resource in the specifiedresource file. The IpName and IpType parameters define the resource nameand type, respectively.Parameters hlnstance HANDLE Identifies the instance of the module whoseexecutable file contains the resource.278Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!