rejetto forum

the focus problem

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13275
    • View Profile
i fixed the "focus on chat window popup" problem
it was due to the fact that delphi's show-window function set the focus also.
if i use winapi to set show the window, it does not work correctly due to hidden variables in the window object, that should be udpated via the show function.

for now i save the old focused, call the show function, and the restore the focus.
i don't like this solution. i hope some of you can help me finding a better solution.