|
-
Feb 23rd, 2005, 02:54 AM
#1
Thread Starter
Lively Member
sending backspace to erase a character
iam using to postmessage api with vbkeyback to erase the charactes typed and post some other character in my local language software.
PostMessage(wndHndl, WM_CHAR, Asc(Chr(8)), Keybrd_Delay)
the problem is i can't send backspace to all windows applications. some applications like excel and coreldraw didnot take backspace key with postmessage api.
how can i erase the characters i typed.......
please helpme
-
Feb 23rd, 2005, 04:18 PM
#2
-
Feb 23rd, 2005, 06:16 PM
#3
Re: sending backspace to erase a character
If the above suggestion doesn't work, you could look into doing the following.
Hook the target window and trap all WM_CHAR messages. When one of the offending characters arrives, replace it with the correct one.
I've written some code that makes this pretty simple to do. Take a look at it here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|