|
From: Nick <en...@ho...> - 2000-12-12 17:00:50
|
Hello, > in c++ use the following in Winmain: > wincl.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); // change > WHITE to LT_GRAY etc. C++ doesn't automatically mean creating windows. Anyway, the above is also valid C (though requiring the inclusion of non-standard headers, libraries, etc..) > in c use: > #include <graphice.h> > void far setbkcolor(int WHITE); No reason why this could not be used in C++ either (of course, assuming the existance of the appropriate headers, libraries, yada yada...) -- regards, Nick |