Francois Gouget : Use the SW_XXX constants when calling ShowWindow().