Welcome Guest. Please Login or Register. Apr 5th, 2018, 11:28pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Anyone like to expand as to what this does and why?
It calls the SetFocus API, but in the context of the thread containing the message pump rather than the interpreter's thread.
The documentation of SetFocus says: "The SetFocus function sets the keyboard focus to the specified window. The window must be attached to the calling thread's message queue":