I've used findwindowex
to find the child window. I used findwindow
to find the big application, and I found that with spy++. I know that it is the right one because I'm able to sendkeys to it and they work. I'm trying to maximize it but it does not work. I tried to do the showwindow
call and use the three constant to maximize it, with no luck. What could be going wrong? Does anyone have examples on maximizing a childwindow
?
*I'm dealing with an mdi child window
Typically, child windows can't be maximized or minimized. The only exception I can think of is MDI child windows. Is that what you're dealing with here?