Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2005

Tip: Looking for answers? Try searching our database.

text input method

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Dupont - 24 Oct 2005 01:11 GMT
I'm writing my own text editor.
(from scratch, inherithing from Control).

Usingf Uniscribe I do a pretty good job of rendering international, bidi,
rich text.

But I have an input problem.
So far I was doing everything with ProcessDialogKey(Keys k) to get the
characters, but I only got values in Keys (and it's perfect for control key
such as arrow, delete, etc...).

So I wonder, how to get the characters?
Could I just use Control.OnKeyPress() to get all characters?
that is accentued one, asian one, arabic one, etc...
Sanjeevakumar Hiremath - 31 Oct 2005 10:04 GMT
Overriding PreProcessMessage and WndProc methods can help you capture these
keys. for an example implementation you can check out my sample at

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=98fae45e-
73c5-471f-b118-73c1f25e8586


Hope this is helpful.

Signature

Regards,
Sanjeevakumar Hiremath
Proteans Software Solutions
http://sharpnet.blogspot.com

> I'm writing my own text editor.
> (from scratch, inherithing from Control).
[quoted text clipped - 10 lines]
> Could I just use Control.OnKeyPress() to get all characters?
> that is accentued one, asian one, arabic one, etc...

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.