CMenu::GetMenuStateで、メニュー項目の状態を取得する。
CFrameWnd_.hは、
とする。
CFrameWnd_.cppは、
とする。
![Item1-4押すと、](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20240604/20240604134940.png)
Item1-4押すと、
![これが出て、](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20240604/20240604135043.png)
これが出て、
![これが出て、](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20240604/20240604135127.png)
これが出て、
![これが出る。](https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20240604/20240604135248.png)
これが出る。
Sample/mfc/CMenu/GetMenuState/src/CMenu at master · bg1bgst333/Sample · GitHub
CMenu::GetMenuStateで、メニュー項目の状態を取得する。
CFrameWnd_.hは、
とする。
CFrameWnd_.cppは、
とする。
Item1-4押すと、
これが出て、
これが出て、
これが出る。
Sample/mfc/CMenu/GetMenuState/src/CMenu at master · bg1bgst333/Sample · GitHub