Just by processing the WM_SIZE message, is it possible to find out if the window was restored from the minimized state?
No, this is not so -
wParam will be SIZE_RESTORED (0)and lParam will have a new window size.
If you did not save in the window when it was minimized, you will not be able to know when it will be restored only from this message.
Not directly from the current settings.
But if you save the parameters passed to WM_SIZE every time you receive a message, then you just check to see if the last parameter SIZE_MINIMIZED passed.
GetWindowPlacement?
, .
Source: https://habr.com/ru/post/1760389/More articles:Writing to a file, where is the output file? - javaWhy is my email still spammed? Using the mail () function - phpJava - remove the last known item from HASHMAP on a MAP! S - javaHow can I query data from a table in Ms Access in a SQL Server 2005 stored procedure? - sql-serverFacebook Oauth разрешает перенаправление в Internet Explorer для расширенных разрешений - authorizationMysql removal performance - performanceDataGridView Custom Sort in WinForm - sortingLisp style question: memoization (caution: contains solution for project Euler # 14) - lispCreating a SQL table from a comma separated list - c #Adding and removing data annotations from code - c #All Articles