I haven't tried it yet, but am pretty sure that DirectX won't take any care about win32 controls. So you must pause the renderer by resetting SHOW when you want to use controls.