so where should i call ShowWindow again in my test program?
and do you mean like this:
Code:
ShowWindow(hWnd, SW_SHOW );