Click here to Skip to main content
15,914,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I've been looking a lot recently and I can not even find anything to lead me to the correct place.
Any help would be much appreciated, even any suggestion where do i find TabTip documentation / api.
Posted
Comments
Sergey Alexandrovich Kryukov 26-Feb-15 15:58pm    
Why?
Pay attention: your " looking a lot recently and I can not even find..." indicates way too insufficient search skills. Such information is way too easy to find, compared to many other cases.
—SA
Demian__ 27-Feb-15 7:05am    
Please, show me an examle. Thnxs
Sergey Alexandrovich Kryukov 27-Feb-15 8:49am    
No, sorry. This will take a lot of typing. Better you please try to make an example. Remember that the interested party is you. If you face problem, I'll try to find out what's wrong. All you need to do is to act by documentation I referenced. If some part is not clear, please ask me.
By the way, you did not even mention the language you want to use.
—SA
Demian__ 27-Feb-15 11:03am    
I dont mean an example for the question. You said "indicates way too insufficient search skills". I'd like you show me any of those "easy to find" documentation /apis for my problem. (Sorry about my english).
What i found was open and change tabtip layout. Nothing more. If you have the skills please help me
Sergey Alexandrovich Kryukov 27-Feb-15 11:10am    
Oh... now, can my answer serve as such an example? Did you even read my answer? If this is not convincing, look at my other answers, those where I did not know the answer myself before I've done some search...
—SA

1 solution

The only correct way to programmatically simulate keyboard or mouse input is using the API SendInput:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646310%28v=vs.85%29.aspx[^].

All other methods, such as sending a message, using some library APIs, depend on many factors, such as having a window prepared to handle messages in certain way, position of keyboard focus, and things like that, so such kinds of simulation won't work in general case, even when they can be used for those special cases. In contrast to that SendInput acts as it was called triggered by real event through the real device driver.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900