Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bitmap in a dialog Pin
69 Bay1-Mar-06 8:11
69 Bay1-Mar-06 8:11 
AnswerRe: Bitmap in a dialog Pin
Hamid_RT27-Feb-06 17:32
Hamid_RT27-Feb-06 17:32 
QuestionFrameless MDI Child Pin
garaber27-Feb-06 10:10
garaber27-Feb-06 10:10 
AnswerRe: Frameless MDI Child Pin
mbue27-Feb-06 16:00
mbue27-Feb-06 16:00 
Questionindex problem - please help... Pin
SWDevil27-Feb-06 10:07
SWDevil27-Feb-06 10:07 
QuestionStandard c++ : borders and console size Pin
Peter Charlesworth27-Feb-06 8:22
Peter Charlesworth27-Feb-06 8:22 
AnswerRe: Standard c++ : borders and console size Pin
Nemanja Trifunovic27-Feb-06 8:47
Nemanja Trifunovic27-Feb-06 8:47 
AnswerRe: Standard c++ : borders and console size Pin
David Crow27-Feb-06 9:11
David Crow27-Feb-06 9:11 
Now that screenshot brings back fond memories.

Peter Charlesworth wrote:
A double border isn't necessary, I just want to know how to create such a border
with standard c++.


Here's one example of drawing a box. Convert it to "standard C++" as per your definition.

printf("%c%c%c%c%c\n", 201, 205, 205, 205, 187);
printf("%c   %c\n", 186, 186);
printf("%c%c%c%c%c\n", 200, 205, 205, 205, 188);
Just make it as big as you need to. Also look at the console functions like SetConsoleCursorPosition(), WriteConsoleOutputCharacter(), and WriteConsole().


"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"There is no death, only a change of worlds." - Native American Proverb


GeneralRe: Standard c++ : borders and console size Pin
Peter Charlesworth27-Feb-06 9:18
Peter Charlesworth27-Feb-06 9:18 
AnswerRe: Standard c++ : borders and console size Pin
PJ Arends27-Feb-06 9:22
professionalPJ Arends27-Feb-06 9:22 
Questionintegrating Dialog in an SDI Pin
whatever8927-Feb-06 7:34
whatever8927-Feb-06 7:34 
AnswerRe: integrating Dialog in an SDI Pin
Maximilien27-Feb-06 8:01
Maximilien27-Feb-06 8:01 
GeneralRe: integrating Dialog in an SDI Pin
whatever8927-Feb-06 8:33
whatever8927-Feb-06 8:33 
QuestionQuestion Pin
Hamid_RT27-Feb-06 7:28
Hamid_RT27-Feb-06 7:28 
AnswerRe: Question Pin
David Crow27-Feb-06 8:08
David Crow27-Feb-06 8:08 
GeneralRe: Question Pin
Paul Conrad27-Feb-06 15:47
professionalPaul Conrad27-Feb-06 15:47 
GeneralRe: Question Pin
David Crow27-Feb-06 16:17
David Crow27-Feb-06 16:17 
AnswerRe: Question Pin
PJ Arends27-Feb-06 9:29
professionalPJ Arends27-Feb-06 9:29 
QuestionDiabling the AfxSocket... Pin
Eytukan27-Feb-06 5:26
Eytukan27-Feb-06 5:26 
AnswerRe: Diabling the AfxSocket... Pin
David Crow27-Feb-06 6:47
David Crow27-Feb-06 6:47 
GeneralRe: Diabling the AfxSocket... Pin
Eytukan27-Feb-06 8:09
Eytukan27-Feb-06 8:09 
Questionwindows vista look and feel Pin
mahesh_patil16627-Feb-06 5:16
mahesh_patil16627-Feb-06 5:16 
AnswerRe: windows vista look and feel Pin
Rage27-Feb-06 6:23
professionalRage27-Feb-06 6:23 
QuestionMultiple partition/VolumeID on removable storage (SetupDiGetClassDevs) Pin
Gregoire27-Feb-06 4:30
Gregoire27-Feb-06 4:30 
QuestionC++ win32 console app to service Pin
t_dani27-Feb-06 3:59
t_dani27-Feb-06 3:59 

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.