External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started.
-
Member 11283272 wrote:
why?
Why what? And probably because no one can understand your question.
sorry,my english is not good enough.
-
sorry,my english is not good enough.
-
Sorry, I am the only one,incidentally, I'm Chinese.English is not our official language,I tried again to translate。
-
Sorry, I am the only one,incidentally, I'm Chinese.English is not our official language,I tried again to translate。
-
A.exe is my own program,B.exe is not my own program. B.exe has a button, click it, and will call to EXCEL! Now, my question is: if click this button to manually, EXCEL will be normal calls.---(OK) But if use my program(A.exe),the Sendmessage function sends a keystroke messages (WM_KEYDOWN WM_SYSKEYDOWN) on the button, EXCEL will call fails.---(NG) I'm sure it: Sendmessage function keystroke messages is sent successfully!
-
Hello, can you understand what I said now ??
-
A.exe is my own program,B.exe is not my own program. B.exe has a button, click it, and will call to EXCEL! Now, my question is: if click this button to manually, EXCEL will be normal calls.---(OK) But if use my program(A.exe),the Sendmessage function sends a keystroke messages (WM_KEYDOWN WM_SYSKEYDOWN) on the button, EXCEL will call fails.---(NG) I'm sure it: Sendmessage function keystroke messages is sent successfully!
-
You need to be sure that the messages are exactly what the program uses to cause the button press.
yes,i am sure.
-
yes,i am sure.
-
Thank you, I have solved this problem.