Minimize, maximize the title bar

xiaoxiao2021-03-05  31

This feature is generally rare, but some people often ask. Its method is simpler, mainly by reloading the onsysCommand function.

Message WM_SYSCOMMAND is mapped to the onsysCommand function.

Overload minimization is as follows:

OnsysCommand (Uint Nid, Lparam Lparam)

{

IF (NID == SC_MINIMIZE) {// INSERT YOUR CODE

Return;} cdialog :: oversysCommand (NID, LPARAM);

}

转载请注明原文地址:https://www.9cbs.com/read-33899.html

New Post(0)