I have again problems with SendMessage function. I provide a little demo here: http://hansolo.cybcom.net/~koko/files/testme/
FindWindow $R1 "TF13"
SendMessage $R1 18 0 0
if I replace 18 with 16, the SendMessage works. But my real program is designed like the demo - it minimizes instead of terminating when receives close message.
The stupid situation is that I made another install, for another program and it works fine! If I put this class "TF13" there, SendMessage don't work. Putting the other class here also don't work 😢
Showing $R1 with messagebox tells that FindWindow founds the handle, but SendMessage fails.
If someone wants, I could provide the working install.
Please, Help!
I don't want to put a stopper in my distro if the installer provides a good way to kill the application.
Sorry for my english.
CloseWindow problems again.
4 posts
See the attachment, maybe you can find some nice message there that will work on your program.
Good luck,
-Hendri.
Good luck,
-Hendri.
The life is not so easy but is funny
Find the window, post message VM_KEYDOWN with code 'x' (eXit), post message VM_CHAR (x), post message VM_KEYUP and the program exits 😁
FindWindow $R1 "TPDAOLClass"
SendMessage $R1 256 120 0
SendMessage $R1 258 120 0
SendMessage $R1 257 120 0
Thank you for your advise,
Nikolai
Originally posted by Smile2MeI beat my big, wooden and empty head it the wall and it born this:
See the attachment, maybe you can find some nice message there that will work on your program.
Find the window, post message VM_KEYDOWN with code 'x' (eXit), post message VM_CHAR (x), post message VM_KEYUP and the program exits 😁
FindWindow $R1 "TPDAOLClass"
SendMessage $R1 256 120 0
SendMessage $R1 258 120 0
SendMessage $R1 257 120 0
Thank you for your advise,
Nikolai
No problemo, glad I could help a little bit.
Greetz,
-Hendri.
Greetz,
-Hendri.