Click here to Skip to main content
15,919,341 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionGet the proper path name, proper case I mean. Pin
AndrewVos8-May-08 3:38
AndrewVos8-May-08 3:38 
AnswerRe: Get the proper path name, proper case I mean. Pin
Dave Kreskowiak8-May-08 4:59
mveDave Kreskowiak8-May-08 4:59 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 5:14
AndrewVos8-May-08 5:14 
AnswerRe: Get the proper path name, proper case I mean. Pin
Dave Kreskowiak8-May-08 5:32
mveDave Kreskowiak8-May-08 5:32 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 5:39
AndrewVos8-May-08 5:39 
GeneralRe: Get the proper path name, proper case I mean. Pin
AndrewVos8-May-08 6:12
AndrewVos8-May-08 6:12 
Questiongetting input from user Pin
raydona7-May-08 8:11
raydona7-May-08 8:11 
AnswerRe: getting input from user Pin
Dave Kreskowiak7-May-08 8:42
mveDave Kreskowiak7-May-08 8:42 
This question belongs in the Visual C++/CLI forum.

I'm guessing you haven't written code for Windows before, have you? What you mentioned with the cin stream applies to console applications, not Windows.

Windows is follows an event driven model where your code normallly sits idle, waiting for the user to click on things and type. You caannot do what you want, the way you want. The best method for filtering out keystrokes is to create a custom TextBox control that does just that. Another method would be to handle the TextBox's Keydown event and do your filtering in that handler.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




Questionhow to use SetWindowLong API function calling in Vb.net Pin
brams77-May-08 4:04
brams77-May-08 4:04 
AnswerRe: how to use SetWindowLong API function calling in Vb.net Pin
Dave Kreskowiak7-May-08 7:12
mveDave Kreskowiak7-May-08 7:12 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
brams77-May-08 10:33
brams77-May-08 10:33 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
Dave Kreskowiak7-May-08 10:57
mveDave Kreskowiak7-May-08 10:57 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
brams79-May-08 4:40
brams79-May-08 4:40 
GeneralRe: how to use SetWindowLong API function calling in Vb.net Pin
Dave Kreskowiak9-May-08 5:44
mveDave Kreskowiak9-May-08 5:44 
QuestionLooking for something that replaces the event DataGridView.SelectionChanging Pin
Shimmy Weitzhandler6-May-08 12:21
Shimmy Weitzhandler6-May-08 12:21 
AnswerRe: Looking for something that replaces the event DataGridView.SelectionChanging Pin
Shimmy Weitzhandler6-May-08 12:57
Shimmy Weitzhandler6-May-08 12:57 
Question[Message Deleted] Pin
Macorina6-May-08 10:41
Macorina6-May-08 10:41 
AnswerCross Post. Please ignore Pin
Pete O'Hanlon6-May-08 10:56
mvePete O'Hanlon6-May-08 10:56 
GeneralRe: Cross Post. Please ignore Pin
leckey7-May-08 6:46
leckey7-May-08 6:46 
GeneralRe: Cross Post. Please ignore Pin
Pete O'Hanlon7-May-08 9:10
mvePete O'Hanlon7-May-08 9:10 
GeneralRe: Cross Post. Please ignore Pin
iamstillalive7-May-08 22:56
iamstillalive7-May-08 22:56 
GeneralRe: Cross Post. Please ignore Pin
Pete O'Hanlon8-May-08 0:51
mvePete O'Hanlon8-May-08 0:51 
GeneralRe: Cross Post. Please ignore Pin
Dave Kreskowiak8-May-08 2:56
mveDave Kreskowiak8-May-08 2:56 
GeneralRe: Cross Post. Please ignore Pin
leckey8-May-08 3:02
leckey8-May-08 3:02 
GeneralRe: Cross Post. Please ignore Pin
Pete O'Hanlon8-May-08 1:40
mvePete O'Hanlon8-May-08 1:40 

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.