Window
public
Visible
BOOL Visible
EX1
int Window_Visible_ex1() { for(int ii = 0; ii <= OGW_NUM_WIN_TYPES; ii++) { Window ww(GetWindow(ii)); printf("Index %d:", ii); if(ww) { if(ww.Visible) { RECT rect; ww.GetClientRect(&rect); printf("%[%d:%d], width=%d, height=%d\n", rect.left, rect.top, rect.right-rect.left, rect.bottom-rect.top); } else out_str("Hidden"); } else out_str("Not available"); } return 1; }
Gets or sets whether the window is visible
origin.h