Build 313 -- Panel bug fixed

Comments about individual builds. Bug reports, suggestions, etc.
Post Reply
Site Admin
Posts: 1384
Joined: Sat Sep 25, 2010 6:52 am

Build 313 -- Panel bug fixed

Post by Rob » Sun Oct 18, 2020 12:47 pm

A bug was fixed that prevented panels from displaying properly when they load as a result of (1) a hotkey command that contains LoadHotkeyFile() or (2) a Windows shortcut that launches a team. Many thanks to Tonka and Squadz for reporting the bug.

Programmers notes

Problem was that panels, which are windows, were getting created by worker thread instead of by main UI thread. Then worker thread exits and no thread exists to service wndproc calls. Fixed by adding:
  • uWM_LOAD_HOTKEY_FILE_IN_UI_THREAD and associated case-statement to main window's wndproc.
  • if-blocks involving threads to cHotkeyLoad::load () including LOGMON messages.
Author of Mojo

Post Reply