![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 16
Rep Power: 0
![]() |
Special characters !
im trying to send special characters to another application.
ive tried using: keybd_event() SendInput() but is not working, i've gotten them to send normal char's, but not char's like Ë.. thanks |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,223
Rep Power: 5
![]() |
Not sure about keybd_event() but I assume the same principle applies.
SendInput() generally works by sending windows events to the target application. That application needs to process those events. Not all events are processed by default, and the programmer is in control of what events are processed. Locale settings can also affect how a program processes events. The typical application only processes WM_KEYDOWN events and ignores things such as WM_KEYUP events. If you send a WM_KEYUP, the typical application will therefore ignore it. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Mar 2005
Posts: 16
Rep Power: 0
![]() |
there must be a way to simulate special characters as user input?
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Might not solve your problem, but Google 'locale' or refer to your C++ or Windows API documentation on the same subject. The meaning and presentation of character codes depends upon that. One man's cedilla is another man's barking dog.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inputting Non-ASCII Characters | UnKnown X | Python | 4 | Feb 11th, 2007 7:04 AM |
| Replacing characters in std::string | magnus.therning | C++ | 10 | Feb 1st, 2007 9:11 AM |
| Nothing Special, just a password generator | Jessehk | Show Off Your Open Source Projects | 0 | Oct 29th, 2006 4:20 PM |
| Idea For My Special Problem | vhaliw_ako | Project Ideas | 4 | Jul 2nd, 2006 9:17 PM |
| Converting ANSI characters to hex for Checksum. | JawaKing00 | C | 4 | Sep 9th, 2005 5:07 AM |