flat assembler
Message board for the users of flat assembler.

Index > Windows > How get input string ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 591
Roman
I need get input name from WindowProc.

I found ToUnicodeEx and GetKeyNameText.
This function scan one char ? Or all string ?
Post 08 Apr 2020, 08:04
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 702
Location: Belarus
DimonSoft
You’re not clear in what your goal is.
Post 08 Apr 2020, 12:11
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 591
Roman
I do Direct2D combobox for input name or digits.
Post 08 Apr 2020, 13:04
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17251
Location: In your JS exploiting you and your system
revolution
If you are doing your own GUI elements then you will need to capture the key events in the message loop and build the string yourself. That includes processing backspace, arrows, ctrl, etc. Also you need to do the display of the inputted text and the caret yourself.

Windows can't do that for you because it doesn't know what your requirements are.
Post 08 Apr 2020, 14:30
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.