how to find a window's SW_SHOW/SW_HIDE status

前端 未结 6 1758
野趣味
野趣味 2021-01-01 22:44

I am trying to determine a window control\'s visibility that has been hidden or enabled with CWnd::ShowWindow(). (or ::ShowWindow(hWnd,nCmdShow))

I cannot simply use

6条回答
  •  借酒劲吻你
    2021-01-01 22:54

    I would use GetWindowPlacement, however I am not sure if I understood what you want. It fills in a WINDOWPLACEMENT structure and then use the showCmd member.

提交回复
热议问题