how to find a window's SW_SHOW/SW_HIDE status

前端 未结 6 1796
野趣味
野趣味 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:53

    Call GetWindowLong( handle, GWL_STYLE), check the returned value for WS_VISIBLE style presence.

提交回复
热议问题