home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4611
/
fw16d.ins
/
SOURCE
/
CLASSES
/
VBXCTRL.PRG
< prev
next >
Wrap
Text File
|
1994-02-28
|
1KB
|
49 lines
// Warning: Under construction. Not available yet!
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
CLASS TVbControl FROM TControl
DATA hCtl
METHOD ReDefine( nId, oWnd ) CONSTRUCTOR
METHOD Init( hDlg )
METHOD GetPropName( nProp ) BLOCK ;
{ | Self, nProp | VBXGetPrpName( ::hCtl, nProp ) }
METHOD SetProp( nProp, uValue ) BLOCK ;
{ | Self, nProp, uValue | VBXSetPrp( ::hCtl, nProp, uValue ) }
METHOD nGetNumProps() BLOCK { | Self | VBXGetNumProps( ::hCtl ) }
ENDCLASS
//----------------------------------------------------------------------------//
METHOD ReDefine( nId, oWnd ) CLASS TVbControl
::nId = nId
::oWnd = oWnd
::hCtl = 0
if oWnd != nil
oWnd:DefControl( Self )
endif
return Self
//----------------------------------------------------------------------------//
METHOD Init( hDlg ) CLASS TVbControl
Super:Init( hDlg )
::hCtl = VbxGetHCtl( ::hWnd )
return
//----------------------------------------------------------------------------//