Ron,
When you switch onto the log tab of the control panel applet I guess you are initially loading the log file in the WM_INITDIALOG message.
If you have a large log file (e.g. level 9) this takes a while to load. Can I suggest that you post a refresh message to the window so that the tab transition completes before it loads the log window.
It would be even nicer if you could do the load in a different thread (e.g. via the listview control) so that it can display the content as soon as the visible window is loaded…..
Mark