Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display all hidden windows?
#1
Is there a way to display all hidden windows?

I've set a macro to hide certain windows based on the parent program, however when I try to set them visible again using hid-, not all of the windows return. Is there a way to just show all hidden windows that are currently hidden?

Thanks.
#2
Quote:when I try to set them visible again using hid-, not all of the windows return

Possibly because there are other matching visible windows. QM finds first such window and does nothing if it is already visible.

instead of

hid- win("name" "class")

use

Macro Macro1338
Code:
Copy      Help
ARRAY(int) a; int i
win "name" "class" "" 0 0 0 a ;;get handles of all matching windows
for i 0 a.len ;;for each window in the array
,if hid(a[i]) ;;if hidden
,,hid- a[i]
,,


Forum Jump:


Users browsing this thread: 1 Guest(s)