xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

WCenter()

Centers a window on the screen or makes it entirely visible.

Syntax

WCenter( [<lCenter>] ) --> nWindowID

Arguments

<lCenter>
This parameter defaults to .F. (false) which moves a (partially) hidden window to the screen to become entirely visible. When .T. (true) is passed, the window is centered on the screen.

Return

The function returns the window ID of the current window.

Info

See also:WBoard(), WOpen(), WSelect()
Category: CT:Window , Windows (text mode)
Source:ct\ctwin.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe