Saturday, April 11, 2009

Using Harbour+WVG +xMate - Part III

As you may recall from Part II, using Pritpal Bedi's Harbour Read to use Distro, I had successfully built FAS4WVG, a pure Win32 executable which does not run in a Command (DOS) Window.

Now, lets guify the DISPBOX() surrounding Main Menu & Messages by replacing

dispbox( 1, 0, 3, 79, B_DOUBLE )
dispbox( 22, 0, 24, 79, B_DOUBLE )

with :-

Wvg_BoxGroupRaised( 2, 1, 2, 77)
Wvg_BoxGroupRaised( 23, 1, 23, 77)

// Instruct GT to Repaint the Screen with GUI elements
Wvt_InvalidateRect( 0, 0, maxrow(), maxcol() )

The result is as follows :-


I then changed the default color to GREY to accentuate the 3D look and feel and added a
Wvg_BoxGroupRaised( 4, 1, 20, 77) for a centralised work area



You can see the DBEDIT() within a Boxraised(4,1,20,77) as follows :-


Same DBEDIT() but within a WVG_BoxRecessed

Same DBEDIT() but within a WVG_BoxRecessed() & WVG_BoxGroupRaised()



Next on Part IV

No comments:

Post a Comment