Click here to Skip to main content
15,911,039 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralCExcelClass Pin
Rob Ritchie11-Jun-00 19:29
sussRob Ritchie11-Jun-00 19:29 
GeneralRe: CExcelClass Pin
Tim Deveaux12-Jun-00 13:07
Tim Deveaux12-Jun-00 13:07 
Generalinternet explorer history Pin
Charlie Skilbeck11-Jun-00 13:10
Charlie Skilbeck11-Jun-00 13:10 
GeneralRe: internet explorer history Pin
Mike Dunn11-Jun-00 20:16
Mike Dunn11-Jun-00 20:16 
GeneralActiveX control to serialise to SVG Pin
ed welch9-Jun-00 0:41
ed welch9-Jun-00 0:41 
GeneralDesign Patterns Pin
Miguel Hasse de Oliveira8-Jun-00 1:38
professionalMiguel Hasse de Oliveira8-Jun-00 1:38 
Generalclrscr() and gotoxy() in Visual C++ Pin
Ernesto Moscoso Cam7-Jun-00 8:29
Ernesto Moscoso Cam7-Jun-00 8:29 
GeneralRe: clrscr() and gotoxy() in Visual C++ Pin
Tim Deveaux7-Jun-00 12:05
Tim Deveaux7-Jun-00 12:05 
I think you'll bugcheck on 98 with an _asm int 21;

Here's some code that might help:

The clrscr can be had with

system("cls");

The more powerful way us to get a handle to the
console and use the console api calls.

The MS Knowledge base has a good article on
clearing the screen - Q99261 - first, you
need a handle though...

// with this handle, article Q99261  
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
 
// call a console API just to test handle
CONSOLE_SCREEN_BUFFER_INFO csbi;    // just to test
 
// wow!  hConsole is NULL!  But this works!  Go figure...
GetConsoleScreenBufferInfo(hConsole, &csbi);

// now we can gotoxy with SetConsoleCursorPosition
COORD coord;
coord.X = 0;
coord.Y = 0;
 
SetConsoleCursorPosition(hConsole, coord);


That should move the cursor to the top of the screen without clearing it. See Q99261 for the clear screen.
GeneralActiveX Controls Pin
Ernesto Moscoso Cam7-Jun-00 8:13
Ernesto Moscoso Cam7-Jun-00 8:13 
GeneralSynchronizing Access database using CDaoDatabase Pin
W Dicks7-Jun-00 7:38
W Dicks7-Jun-00 7:38 
GeneralMakro's (#define)...different Variable names Pin
Member 13567-Jun-00 3:17
Member 13567-Jun-00 3:17 
GeneralRe: Makro's (#define)...different Variable names Pin
Uwe Keim7-Jun-00 4:42
sitebuilderUwe Keim7-Jun-00 4:42 
GeneralRe: Makro's (#define)...different Variable names Pin
Member 13567-Jun-00 5:38
Member 13567-Jun-00 5:38 
GeneralRe: Makro's (#define)...different Variable names Pin
Uwe Keim7-Jun-00 5:48
sitebuilderUwe Keim7-Jun-00 5:48 
GeneralRe: Makro's (#define)...different Variable names Pin
Member 13567-Jun-00 23:35
Member 13567-Jun-00 23:35 
GeneralOLE-DB Access to SQL Server 7 Pin
Miguel Hasse de Oliveira7-Jun-00 2:17
professionalMiguel Hasse de Oliveira7-Jun-00 2:17 
GeneralCStringArray/CStringList to Buffer... Pin
Kosi5-Jun-00 14:50
Kosi5-Jun-00 14:50 
GeneralRe: CStringArray/CStringList to Buffer... Pin
Mike Dunn6-Jun-00 15:07
Mike Dunn6-Jun-00 15:07 
GeneralIE CommBand with Html View Pin
solo.ru5-Jun-00 4:40
solo.ru5-Jun-00 4:40 
GeneralRe: IE CommBand with Html View Pin
Erik Thompson5-Jun-00 6:41
sitebuilderErik Thompson5-Jun-00 6:41 
GeneralRe: IE CommBand with Html View Pin
solo.ru5-Jun-00 20:09
solo.ru5-Jun-00 20:09 
GeneralC++ Doubt Pin
Santosh Rao4-Jun-00 21:23
Santosh Rao4-Jun-00 21:23 
GeneralRe: C++ Doubt Pin
Chris Losinger6-Jun-00 5:16
professionalChris Losinger6-Jun-00 5:16 
GeneralRe: C++ Doubt Pin
Alvaro Mendez11-Jul-00 6:25
Alvaro Mendez11-Jul-00 6:25 
GeneralCategory Data Structure Code in C Pin
Andrew Merrill3-Jun-00 4:33
sussAndrew Merrill3-Jun-00 4:33 

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.