... encontre que se define en el método Register de la clase tWindow METHOD Register( nClsStyle ) CLASS TWindow local hUser DEFAULT ::lRegistered := .f. // XBPP workaround if ::lRegistered return nil endif #ifdef __CLIPPER__ hUser = GetModuleHandle( "user.exe" ...
... TImage FROM TBitmap DATA nProgress DATA hBitmap (<----- New string DATA hDib (<---- New string DATA hPalette (<----- New String CLASSDATA lRegistered AS LOGICAL METHOD New( nTop, nLeft, nWidth, nHeight, cResName, cBmpFile, lNoBorder,; oWnd, bLClicked, bRClicked, lScroll, lStretch, oCursor,; ...
... static oTimer, aTimer := {} //----------------------------------------------------------------------------// CLASS TDSay FROM TControl CLASSDATA lRegistered AS LOGICAL DATA l3D DATA cPicture DATA aCaption DATA bGet DATA lShaded, lBox, lRaised DATA nDTop, nDLeft DATA nTTop, nTLeft DATA aRect, ...
... > What difference are between CLASSDATA and DATA CLASSDATA are properties _shared_ by all objects that belong to a Class. i.e.: CLASSDATA lRegistered AS LOGICAL is a logical value (only one shared item!) used by all objects of that Class. A DATA is a property that just belongs to an object. ...
> CLASSDATA lRegistered AS LOGICAL It is needed for new control Classes that are not Windows estandard. Windows API requires to "register" a control class name. It has to be registered only once. That DATA controls that. Estandard ...
Patrick, > CLASSDATA lRegistered AS LOGICAL It is needed for new control Classes that are not Windows estandard. Windows API requires to "register" a control class name. It has to be registered only once. That DATA controls that. Estandard ...
Dear Antonio. There wasn't any error after I add the "CLASSDATA lRegistered AS LOGICAL" Code. But the HandleEvent did not run. Attached is my source code. #include "Fivewin.ch" #define MM_WOM_OPEN 955 /* waveform output */ #define MM_WOM_CLOSE ...
... reviewing the user defined control Class implementation for now. Silvio's proposal to create a new control Class is the way to go. > CLASSDATA lRegistered AS LOGICAL It is needed for new control Classes that are not Windows estandard. Windows API requires to "register" a control class name. ...