What are the differences?

2012-03-01  Source: Original Site  Category:Visual C++  Views:0 


Calling ShowWindow(SW_MAXIMIZE); within OnInitDialog will make the Dialog displayed as fullscreen, that is occupying the entire screen and covering the system task bar. However, if we call it in other places, such as in OnOK, the dialog is only set to maximize...

Why the same statement performs such different in different places?

Related articles