ruby - Is there any Windows API that can "normalize" or "maximize" a window? -


i using ruby's win32api movewindow move window , resize it.

but if window minimized, won't show.

setwindowpos works too, , has flag hide or show window, make window visible or invisible, not minimizing or normalizing.

i tried setforegroundwindow , setactivewindow , won't work either. there call make window normalized or maximized?

showwindow(hwnd, sw_restore) may you're looking for. see: msdn docs


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -