MFC 的 CWnd::IsWindowVisiable();用法:我在Tab中插入一对话框XDlg,再在此XDlg中放一button,xBtn。当我切换到另外的页面再回来的时候,我能看到此按钮,可在OnShowWindow(...)中使用XDlg.IsWindowVisiable();发现结果是FALSE。当然按钮也是FALSE。我都能看到这个对话枉与按钮,为什么报的值是FALSE????我想可能这个函数使用是不是有什么规则是我不知道的。有大X知道的请告诉我一下。多谢。
调试欢乐多
);
ParametershWnd
[in] Handle to the window to test.
Return ValueIf the specified window, its parent window, its parent's parent window, and so forth, have the WS_VISIBLE style, the return value is nonzero. Otherwise, the return value is zero. Because the return value specifies whether the window has the WS_VISIBLE style, it may be nonzero even if the window is totally obscured by other windows.