Is there a function with which I can determine if a window has minimize button, given the window handle?