METHOD Paint() CLASS TMsgBar
local aInfo := ::DispBegin()
if ::l2007
::PaintBar()
::Say( ::nHeight / 4 - 2,;
If( ::lCentered, ( ( ( If( Len( ::aItem ) > 0, ::aItem[ 1 ]:nLeft(), ::nWidth ) ) ) / 2 ) - ( GetTextWidth( ::hDC,;
If( Empty( ::cMsg ), ::cMsgDef, ::cMsg ),;
::oWnd:oFont:hFont ) / 2 ), 4 ),;
If( Empty( ::cMsg ), ::cMsgDef, ::cMsg ),;
::nClrText,,, .T., .T. )
::lPainting := .T.
ASend( ::aItem, "Paint()" )
if ::lPaint3L
MsgPaint3L( ::hWnd, ::nClrPane, ::hDC ) // esta línea dibuja el "gripper"
endif
::lPainting := .F.
if ::bPainted != nil
Eval( ::bPainted, ::hDC )
endif
::DispEnd( aInfo )
return nil
endif
...
Recuerda que uso el SVN de Harbour y Borland C 5.82 bajo un Win7 Professional (tema Windows Clásico).
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 23 guests