The FillConsoleOutputAttribute function sets the text and background color attributes for a specified number of character cells, beginning at the specified coordinates in a screen buffer.
BOOL FillConsoleOutputAttribute(
HANDLE hConsoleOutput, |
// handle to screen buffer |
WORD wAttribute, |
// color attribute to write |
DWORD nLength, |
// number of character cells to write to |
COORD dwWriteCoord, |
// x- and y-coordinates of first cell |
LPDWORD lpNumberOfAttrsWritten |
// pointer to number of cells written to |
); |
FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
If the number of character cells whose attributes are to be set extends beyond the end of the specified row in the screen buffer, the cells of the next row are set. If the number of cells to write to extends beyond the end of the screen buffer, the cells are written up to the end of the screen buffer.
The character values at the positions written to are not changed.
COORD, FillConsoleOutputCharacter, SetConsoleTextAttribute, WriteConsoleOutputAttribute
file: /Techref/os/win/api/win32/func/src/f23_18.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/8 05:50,
18.217.224.194:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/func/src/f23_18.htm"> FillConsoleOutputAttribute</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.