FillConsoleOutputAttribute_()
Posted: Sat Jun 11, 2005 10:45 pm
I was tryna make the background colour for a console change by usin' WinAPI, so I used this, but it don't work:-
'Cos I ain't that good at API, please help me in a way I'd understand please.
Thanks in advance
Code: Select all
OpenConsole()
Bob.COORD
Bob\X=1
Bob\Y=1
conOut = GetStdHandle_(#STD_OUTPUT_HANDLE)
FillConsoleOutputAttribute_(conOut,#BACKGROUND_BLUE,80*50,B
ob,1)
Delay(5000)
'Cos I ain't that good at API, please help me in a way I'd understand please.
Thanks in advance