Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - wcenter http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Wcenter

Center active window on screen.

Header File.....TCXLwin.h

Prototype.......IntT CTYP Wcenter(IntT cf);

Source File.....WCT\WCENTER.C

Arguments.......cf -  Centering Flag (One of the following)
                  CNT_HOR..Horizontal
                  CNT_VER..Vertical
                  CNT_CNT..Both

Returns.........ERR_NUL  -  No Error
                ERR_ARG  -  Argument Failure
                   TcxlErr contains:
                   W_ALLOCERR  -  Memory Allocation Error
                   W_NOACTIVE  -  No Active Window

Notes...........Centers the active window on the screen, horizontally,
                vertically, or both.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson