Hello Mark, > * Is the DestroyWindow() call being made? Yes and OnDestroy is also called. > * Does the main thread ever appear to end - ie, if you put a print > statement after the PumpMessages(), will it appear. Yes. The OS is winnt4 BTW: I'm sure you recognize the code copy from win32gui_taskbar demo, 10x :-)