No subject


Tue Jun 11 14:29:31 CEST 2019


"The TranslateMessage function translates virtual-key messages into
character messages. The character messages are posted to the calling
thread's message queue, to be read the next time the thread calls the
GetMessage or PeekMessage function."

It is therefore removing the VK_TAB from the message the Button etc sends.
This is needed to implement the WS_TABSTOP functionality.

I've tested this in a framework I have been tinkering with (multithreaded
widget framework, each window has it's own thread, as does the application
instance) and it solved the lack of tabstop immediately.

If you're interested I can send you the source to look at, though it's in a
bit of a strange state at the moment die to me hacking it to solve the above
probelm (without initially knowing how to.)

Matt







More information about the fpc-pascal mailing list