Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Enter a Escape character in edit control.
Closed Thread
Old 02-18-2005, 05:23 AM   #1 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 25

swinghead

Default Enter a Escape character in edit control.

Hi,

Can anyone please tell me how i could enter a escape character in an edit control ( say notepad) or editor itself.

If there is no direct keystrokes (or combination of keystroke) there should be a way i can save the escape characters in some binary file or editor and then open it through notepad.

Please help...

Cheers,
SwingHead
swinghead is offline  
Old 02-19-2005, 11:18 AM   #2 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

You can't just type '\n' or '\t' or whatever character you're wanting to input?
If that's not what you mean, then you need to explain a little better
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
Old 02-19-2005, 03:02 PM   #3 (permalink)
 
Super Techie

Join Date: Jan 2005

Posts: 295

gab00n

Default

\n = new line and \t = tab

I am trying to figure out what you are up to, could you please explain the programs purpose, then it will be easier for us to help you out.
__________________
\"Today\'s scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.\" Nikola Tesla
gab00n is offline  
Old 02-19-2005, 06:08 PM   #4 (permalink)
 
Monster Techie

Join Date: May 2004

Location: /usr/root/mn/us

Posts: 1,121

bla!! is on a distinguished road

Default

I'm a bit confused also, but the ASCII character for Escape is 27
__________________
<br>
Its a frigging Laptop, not a Labtop!!!!
bla!! is offline  
Old 02-22-2005, 08:36 AM   #5 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 25

swinghead

Default

Thanks guys for this consideration.
What my scenario is:

Using my program i need to exactly count the number of characters input in any edit control or any where i could enter text. So be it visible characters like the alphabets and numbers or be it a escape character like (CR,LF,space or bell etc..) what my program intends to do is count each visible cahracters and non visible like the "\n" (CR) or a "\t" tab or any such key strokes that is invisible but produced as a result of a key stroke.
swinghead is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On