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
Post a Comment