WinAPI

GitHub Microsoft

GitHubにMicrosoft公式のリポジトリがあります。 Microsoft · GitHubいろんなサンプルがあるので参考になりそうです。 GitHub - Microsoft/Windows-classic-samples: This repo contains samples that demonstrate the API used in Windows classic desktop …

ウインドウの位置を保存・復元する

プログラムを再度起動した時に前回のウインドウ位置やサイズを保存・復元する方法です。 保存する情報は ・ウインドウのサイズ(Width,Height) ・ウインドウの位置(Location) ・ウインドウの状態(最大化、最小化) になります。また、起動した時に画面か…