13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FlashWindowReturn valueCommentsThe return value specifies the window's state before call to theFlashWindow function. It is nonzero if the window was active before thecall. Otherwise, it is zero.The FlashWindow function flashes the window only once; for successiveflashing, the application should create a system timer.The blnvert parameter should be zero only when the window is gettingthe input focus and will no longer be flashing; it should be nonzero onsuccessive calls while waiting to get the input focus.This function always returns a nonzero value for iconic windows. If thewindow is iconic, FlashWindow will simply flash the icon; blnvert isignored for iconic windows.FloodFil1SyntaxBOOL FloodFill(hDC, X, Y, crColor}function FloodFill(DC: HDC; X, Y: Integer; Color: TColorRef}: Bool;This function fills an area of the display surface with the current brush.The area is assumed to be bounded as specified by the crColor parameter.The FloodFiII function begins at the point specified by the X and Yparameters and continues in all directions to the color boundary.Parameters hDC H DC Identifies the device context.Return valueCommentsXYcrColorint Specifies the logical x-coordinate of the point wherefilling begins.int Specifies the logical y-coordinate of the point wherefilling begins.COLORREF Specifies the color of the boundary.The return value specifies the outcome of the function. It is nonzero if thefunction is successful. It is zero if the filling could not be completed, thegiven point has the boundary color specified by crColor, or the point isoutside the clipping region.Only memory device contexts and devices that support raster-displaytechnology support the FloodFiII function. For more information, see theRC_BITBL T raster capability in the GetDeviceCaps function, later in thischapter.Chapter 4, Functions directory 281

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

Saved successfully!

Ooh no, something went wrong!