Click here to Skip to main content
15,891,777 members
Home / Discussions / C#
   

C#

 
AnswerRe: Disable Delete Key in Keyboard. Pin
Hesham Yassin14-Jun-07 8:39
Hesham Yassin14-Jun-07 8:39 
QuestionDisable Keyboard Delete button Pin
Rahul8313-Jun-07 2:35
Rahul8313-Jun-07 2:35 
QuestionCollection serialization problem... Pin
Shy Agam13-Jun-07 2:31
Shy Agam13-Jun-07 2:31 
AnswerRe: Collection serialization problem... Pin
Dave Herren13-Jun-07 2:37
Dave Herren13-Jun-07 2:37 
GeneralRe: Collection serialization problem... Pin
Shy Agam13-Jun-07 2:54
Shy Agam13-Jun-07 2:54 
AnswerRe: Collection serialization problem... Pin
Pete O'Hanlon13-Jun-07 3:10
mvePete O'Hanlon13-Jun-07 3:10 
AnswerRe: Collection serialization problem... Pin
Shy Agam14-Jun-07 2:22
Shy Agam14-Jun-07 2:22 
QuestionConsole Screen Buffers Pin
jblouir13-Jun-07 2:07
jblouir13-Jun-07 2:07 
Hi guys,

I am currently writing a console text adventure in C#.

My last version just diplayed text depending on their input and actions, clearing the screen each time and displaying new information about the room its name etc.

What I would like to do now is set up two different screens, or buffers in the console window.

One thats like an information bar which sits at the top, and the bottom half will contain everything they have typed and all the input thats come from their actions, and I would like it so they can scroll up and down the bottom bar.

I have had a look at screen buffers and the different settings that go along with it, I am just not exactly sure how to declare them. If the matter is too big to describe maybe someone can point me to somewhere where I can read up on it? (I find it difficult to find information for console application programming in C#).

Anyway to give you an example of what im aiming to achieve...

(In the console window)

Top section
+-----------------------------------------------------------+
|Room: Blue Room Directions: North South East |
| |
|Description: This room is blue! |
| |
|Visible Items: Tree Chair Desk |
+-----------------------------------------------------------+

Bottom Section

south
You are here
north
You are here
get tree
You got the tree!

Input: _

the bottom section is like a chat window that scrolls up and down, the text looks like its moving under the top window but your just moving the buffer up or whatever.
AnswerRe: Console Screen Buffers Pin
Luc Pattyn13-Jun-07 2:12
sitebuilderLuc Pattyn13-Jun-07 2:12 
GeneralRe: Console Screen Buffers Pin
Colin Angus Mackay13-Jun-07 2:29
Colin Angus Mackay13-Jun-07 2:29 
GeneralRe: Console Screen Buffers Pin
Luc Pattyn13-Jun-07 2:46
sitebuilderLuc Pattyn13-Jun-07 2:46 
GeneralRe: Console Screen Buffers Pin
jblouir13-Jun-07 2:54
jblouir13-Jun-07 2:54 
GeneralRe: Console Screen Buffers Pin
Luc Pattyn13-Jun-07 3:37
sitebuilderLuc Pattyn13-Jun-07 3:37 
Questioninvoke application from windows service Pin
justintimberlake13-Jun-07 2:03
justintimberlake13-Jun-07 2:03 
AnswerRe: invoke application from windows service Pin
ScottM113-Jun-07 2:21
ScottM113-Jun-07 2:21 
AnswerRe: invoke application from windows service Pin
ScottM113-Jun-07 2:25
ScottM113-Jun-07 2:25 
QuestionHide text in textbox if parameter == “” or null (RDL) Pin
anderslundsgard13-Jun-07 1:47
anderslundsgard13-Jun-07 1:47 
AnswerRe: Hide text in textbox if parameter == “” or null (RDL) Pin
Hesham Yassin14-Jun-07 8:40
Hesham Yassin14-Jun-07 8:40 
QuestionFtp Port mode, upload problem Pin
Roeland_197113-Jun-07 1:45
Roeland_197113-Jun-07 1:45 
QuestionLoop -> Wait for user confirmation Pin
Ian Uy13-Jun-07 1:26
Ian Uy13-Jun-07 1:26 
AnswerRe: Loop -> Wait for user confirmation Pin
Martin#13-Jun-07 1:34
Martin#13-Jun-07 1:34 
GeneralRe: Loop -> Wait for user confirmation Pin
Ian Uy13-Jun-07 1:56
Ian Uy13-Jun-07 1:56 
AnswerRe: Loop -> Wait for user confirmation Pin
Martin#13-Jun-07 2:04
Martin#13-Jun-07 2:04 
AnswerRe: Loop -> Wait for user confirmation Pin
Not Active13-Jun-07 2:07
mentorNot Active13-Jun-07 2:07 
AnswerRe: Loop -> Wait for user confirmation Pin
Dave Herren13-Jun-07 2:33
Dave Herren13-Jun-07 2: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.