How to check window state(minimized,maximized etc) in Team developer ? Is there any built in function available for the same ?
You can use SalGetWindowState() function for checking window state. Function take only one argument which is the handle of the window to be checked.
If SalGetWindowState(windowhandle) = Window_Minimized
Call VisWinShow(windowhandle, SHOW_Normal)
Please Note: VisWinShow() function sets visibility state of a window. Its first argument is the window handle and second argument can be SHOW_Minimized, SHOW_Normal, SHOW_Maximized or SHOW_Hidden.