********************************
**         WDesigns           **
** WD1_VB16.DLL Demonstration **
**  Copyright 1996 WDesigns   **
********************************
* Unregistered evaluation use only *

Description:
	'WD_VB16.DLL' allows access to the function
	WDCenter. The function WDCenter was designed
	as a convenient way to center VB forms, 
	child forms, and objects.

Syntax:
	int WDCenter(int1, int2)
	
	int1 	is the integer value or the hWnd property
		of the form/object to be centered
	int2	is the method of centering to be used
		(see usage below)
Requirements:
	Visual Basic(TM) 4.0 Pro 16 bit version
	Windows 3.x(TM) or Windows95(TM)
	note: Can be incorporated with VB3 as well

Installation:
	The only required installation procedure is
	to copy the file 'WD1_VB16.dll' to the
	Windows\System or Win95\System directory

Usage:
	To use 'WD1_VB16.dll' in your applications
	include the following declarations in your
	applications module:

	Public Declare Function WDCenter Lib "WD1_VB16.DLL" (ByVal hWnd%, ByVal Method%) As Integer


	Public Const wd_CENTER As Integer = &H1         ' Center object vertically and horizontally
	Public Const wd_HCENTER As Integer = &H2        ' Center object horizontally
	Public Const wd_VCENTER As Integer = &H3        ' Center object vertically
	Public Const wd_LEFTTOP As Integer = &H4        ' Place object left top
	Public Const wd_LEFTCENTER As Integer = &H5     ' Place object left center
	Public Const wd_LEFTBOTTOM As Integer = &H6     ' Place object left bottom
	Public Const wd_TOPCENTER As Integer = &H7      ' Place object top center
	Public Const wd_RIGHTTOP As Integer = &H8       ' Place object right top
	Public Const wd_RIGHTCENTER As Integer = &H9    ' Place object right center
	Public Const wd_RIGHTBOTTOM As Integer = &HA    ' Place object right bottom
	Public Const wd_BOTTOMCENTER As Integer = &HB   ' Place object bottom center

Sample event:
	
	Private Sub Form_Load()
	
		Dim X As Integer

		X = WDCenter(Form1.hWnd, wd_CENTER)

	End Sub

Return value:
	WDCenter will return 0 if an error occurred
	(such as invalid parameters or an object
	could not be moved)
	Or -1 for success

Registration Info:
	
	To register please send check or money order to:

			WDesigns
			310 Harlem Ave
			Glenview, IL 60025-5050
			Attn: WD1-VB16 Reg

	Current registration fee is $5.00 US

	Thank You.

	WDesigns
	Internet: 75404.3451 @ compuserve.com
	or visit our home page:
	http://ourworld.compuserve.com/homepages/WDesigns
