Click here to Skip to main content
15,894,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to write a HLP file? Pin
Raphael Kindt8-Jan-03 2:48
Raphael Kindt8-Jan-03 2:48 
GeneralBig Problem.....HELP!!! Pin
Sunnygirl7-Jan-03 23:58
Sunnygirl7-Jan-03 23:58 
GeneralRe: Big Problem.....HELP!!! Pin
xxhimanshu8-Jan-03 0:20
xxhimanshu8-Jan-03 0:20 
GeneralRe: Big Problem.....HELP!!! Pin
Sunnygirl8-Jan-03 1:17
Sunnygirl8-Jan-03 1:17 
GeneralRe: Big Problem.....HELP!!! Pin
xxhimanshu8-Jan-03 1:59
xxhimanshu8-Jan-03 1:59 
GeneralRe: Big Problem.....HELP!!! Pin
Sunnygirl8-Jan-03 2:39
Sunnygirl8-Jan-03 2:39 
GeneralConsole Window Properties Pin
Cpudood7-Jan-03 23:50
Cpudood7-Jan-03 23:50 
GeneralRe: Console Window Properties Pin
Nitron8-Jan-03 6:41
Nitron8-Jan-03 6:41 
if win9x i don't know, but NT you can do:

color xy

where:
according to cmd.exe in w2k
Color attributes are specified by TWO hex digits -- the first
corresponds to the background; the second the foreground.  Each digit
can be any of the following values:

    0 = Black       8 = Gray
    1 = Blue        9 = Light Blue
    2 = Green       A = Light Green
    3 = Aqua        B = Light Aqua
    4 = Red         C = Light Red
    5 = Purple      D = Light Purple
    6 = Yellow      E = Light Yellow
    7 = White       F = Bright White

If no argument is given, this command restores the color to what it was
when CMD.EXE started.  This value either comes from the current console
window, the /T command line switch or from the DefaultColor registry
value.

The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute
the COLOR command with a foreground and background color that are the
same.

Example: "COLOR fc" produces light red on bright white


To do this from your c++ app, call system("color fc");

For the window size, try mode con:lines=x and mode con:cols=y

- Nitron


"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
GeneralUnicode filenames Pin
S O S7-Jan-03 21:49
S O S7-Jan-03 21:49 
GeneralRe: Unicode filenames Pin
56789012347-Jan-03 22:58
56789012347-Jan-03 22:58 
GeneralRe: Unicode filenames Pin
S O S8-Jan-03 9:53
S O S8-Jan-03 9:53 
GeneralScreensaver with GDI+ Pin
RolandSaller7-Jan-03 21:26
RolandSaller7-Jan-03 21:26 
GeneralRe: Screensaver with GDI+ Pin
xxhimanshu7-Jan-03 22:41
xxhimanshu7-Jan-03 22:41 
GeneralRe: Screensaver with GDI+ Pin
RolandSaller8-Jan-03 23:21
RolandSaller8-Jan-03 23:21 
GeneralUnicode problem Pin
7-Jan-03 21:24
suss7-Jan-03 21:24 
Generalhi... Pin
:_Rocket_:7-Jan-03 21:12
:_Rocket_:7-Jan-03 21:12 
GeneralRe: hi... Pin
MVH7-Jan-03 22:52
MVH7-Jan-03 22:52 
General2 questions Pin
TOMTEFAR7-Jan-03 20:35
TOMTEFAR7-Jan-03 20:35 
GeneralRe: 2 questions Pin
Andreas Saurwein8-Jan-03 0:49
Andreas Saurwein8-Jan-03 0:49 
GeneralRe: 2 questions Pin
TOMTEFAR8-Jan-03 4:09
TOMTEFAR8-Jan-03 4:09 
QuestionCDateTimeCtrl Focus Problem - Any workaround?? Pin
cool_jay7-Jan-03 20:22
cool_jay7-Jan-03 20:22 
Generalexecuting batch and shortcuts Pin
r i s h a b h s7-Jan-03 19:28
r i s h a b h s7-Jan-03 19:28 
GeneralHelp me pleeeeeeeeeeeeeeeeeeeeeeeeeaze!!!!!!! Pin
r i s h a b h s7-Jan-03 22:57
r i s h a b h s7-Jan-03 22:57 
GeneralRe: Help me pleeeeeeeeeeeeeeeeeeeeeeeeeaze!!!!!!! Pin
Rickard Andersson207-Jan-03 23:42
Rickard Andersson207-Jan-03 23:42 
GeneralRe: Help me pleeeeeeeeeeeeeeeeeeeeeeeeeaze!!!!!!! Pin
xxhimanshu8-Jan-03 0:06
xxhimanshu8-Jan-03 0:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.