Since you've posted this here I assume you are talking about the
Windows Console [
^]
You use the
FillConsoleOutputAttribute[
^] to set the color info for a character cell on the console. You the draw using the characters of the console font.
In case this was not what you where looking for, you could check out the DeviceContextExample accompanying the source code for
Windows Development in C++, working with menus[
^]
There is a wee bit more to the code than I've documented in the article.
Good luck
Espen Harlinn