Window Manipulation Routines
These API routines allow you to create, manipulate, and release windows, and manipulate the main Visual FoxPro window.
_Dialog( ) API Library Routine
Presents the user with a dialog that is the specified color scheme number scheme and contains the specified body text and button text._FindWindow( ) API Library Routine
Places the WHANDLE of the window that the point pt belongs to on the screen into wh._FindWindowP( ) API Library Routine
Places the handle of the window that the point pt belongs to on the screen into wh._GlobalToLocal( ) API Library Routine
Translates a point in screen-relative coordinates to window-relative coordinates._GlobalToLocalP( ) API Library Routine
Translates a point in screen-relative coordinates to window-relative pixel coordinates._PutChr( ) API Library Routine
Writes one character char to the current output window in its normal attribute (color 0)._PutStr( ) API Library Routine
Writes a null-terminated string to the current output window in its normal attribute (color 0)._PutValue( ) API Library Routine
Formats the value val and writes it to the current output window._WAttr( ) API Library Routine
Returns the attribute byte for the color index in the specified window's scheme._WBottom( ) API Library Routine
Returns the row on the screen where the bottom of the window is located._WBottomP( ) API Library Routine
Returns the position on the screen in pixels where the bottom of the specified window is located._WClear( ) API Library Routine
Erases the contents of the specified window by changing the content area to the default background color._WClearRect( ) API Library Routine
Erases a rectangular area of a window by changing it to the default background color._WClearRectP( ) API Library Routine
Erases the specified rectangular portion of a window by changing it to the default background color._WClose( ) API Library Routine
Closes a window and releases all memory associated with that window._WFindTitle( ) API Library Routine
Passes the title of a window, and returns the WHANDLE._WGetCursor( ) API Library Routine
Returns the position of the logical cursor in the specified window._WGetCursorP( ) API Library Routine
Returns in pixels the current output position in the specified window._WGetPort( ) API Library Routine
Returns the WHANDLE of the window that's currently selected for user output._WHeight( ) API Library Routine
Returns the number of rows in the content area of a window._WHeightP( ) API Library Routine
Returns the height in pixels of the content area of the specified window._WHide( ) API Library Routine
Removes a window from the screen but keeps track of its contents so that it can be displayed again if desired._WLeft( ) API Library Routine
Returns the column on the screen where the left edge of the window is located._WLeftP( ) API Library Routine
Returns the position on the screen in pixels where the left edge of the window is located._WMainWindow( ) API Library Routine
Returns the WHANDLE of the main Visual FoxPro window._WMove( ) API Library Routine
Moves the specified window to a new location specified by pt._WMoveP( ) API Library Routine
Moves the specified window to a new location specified by pt._WhToHwnd( ) API Library Routine
Passes the WHANDLE, and returns the Windows HWND._WOnTop( ) API Library Routine
Returns the WHANDLE of the frontmost window._WOpen( ) API Library Routine
Creates a new window at the coordinates specified by top, left, bottom and right._WOpenP( ) API Library Routine
Creates a new window at the coordinates specified by top, left, bottom and right._WPosCursor( ) API Library Routine
Positions the logical cursor of the specified window at the location specified by pt._WPosCursorP( ) API Library Routine
Positions the logical cursor of the specified window at the location specified in pixels by pt._WPutChr( ) API Library Routine
Writes one character char to the specified window in the current color._WPutStr( ) API Library Routine
Writes a null-terminated string to the specified window in the current color._WRight( ) API Library Routine
Returns the column on the screen where the right edge of the window is located._WRightP( ) API Library Routine
Returns the position on the screen in pixels where the right edge of the window is located._WScroll( ) API Library Routine
Scrolls a portion of the contents of a window left or right and up or down._WScrollP( ) API Library Routine
Scrolls a portion of the contents of a window left or right and up or down._WSetAttr( ) API Library Routine
Changes the attribute for the specified color scheme index in the indicated window's color scheme to the new attribute attr._WSelect( ) API Library Routine
Brings the specified window to the frontmost position on the screen._WSendBehind( ) API Library Routine
Sends the specified window to the rearmost position on the screen._WSetPort( ) API Library Routine
Changes the user output window to be the specified window._WSetTitle( ) API Library Routine
Changes the title of a window._WShow( ) API Library Routine
Redisplays a hidden window on the screen._WSize( ) API Library Routine
Sets the new dimensions of the window to the height and width specified by h and v in pt._WSizeP( ) API Library Routine
Sets the new dimensions of the window to the height and width specified by h and v in pt._WTitle( ) API Library Routine
Puts the null-terminated title of the window wh in title._WTop( ) API Library Routine
Returns the row on the screen where the top of the window is located._WTopP( ) API Library Routine
Returns the position on the screen in pixels where the top of the window is located._WWidth( ) API Library Routine
Returns the number of columns in the content area of a window._WWidthP( ) API Library Routine
Returns the width in pixels of the content area of the specified window._WZoom( ) API Library Routine
Zooms a window to a new state.