Antonio Linares wrote:
2) We can paint on the title bar using Method NcPaint(), but we prefer not to paint there. Better leave Windows to use that area itself, or we could break the transparencies, etc. used in Windows 7.
case ::nTypeButton == TYPE_SPLITPOPUP
if nRow >= ::nPopupMargin .or. !lAction
oWnd := ::oWnd
oWnd:NcMouseMove() // close the tooltip
oWnd:oPopup = ::oPopup
::oPopup:Activate( ::nTop + ::nHeight() + ;
If( GetClassName( GetParent( GetParent( ::hWnd ) ) ) != "TRPANEL",;
oWnd:nHeight(), 0 ), ::nLeft, oWnd, .F. )
oWnd:oPopup = nil
::Refresh()
else
::click()
endif
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 41 guests