I am also interested in a solution to this, but if I try cpyang's code, I get an error in CodeBuilder: "Error, Member function Page::SetShow not defined or does not have matching prototype."
I am sorry to report that SetShow still does not work too well in SR4. It works if the window was hidden, or if you use it to make it hidden, or to minimize/maximize a window, but it does not work if the window was behind another and you need to bring it to the front, as with "win -a" in labtalk. We have since fixed this problem but that was too late for SR4.