control visible property?????
-
Hi, I want to control the show/hide to another program. I use Process to start the program and make the initial window status Minimized. then I use Process to get the program main window handle and use windows API showwindow to hide the program i just started. Everything looks fine but one thing. some of the control's visible property (or event, like viisble changed) in the started program are not correct. for example, the button is visible in the GUI, you can click and execute something, but you always get false when you check (get) the visible value . but I can use windows Api like iswindowvisible to get the right visible value. I can use API to set/get the right value, but the related event fired are not correct!! BTW, the program I started is created by C# (VS 2005). Does anyone have some idea about this. Thanks a lot in advance.
Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!