Hi there, this is the v19 taskbar tooltip:
Search for
Code:
void YourTaskBar::OnMouseWndSurface( CPoint point )
And after this:
Code:
LPWNDCTRL wndCtrl[10];
wndCtrl[0] = GetWndCtrl( WIDC_CUSTOM1 );
wndCtrl[1] = GetWndCtrl( WIDC_CUSTOM2 );
wndCtrl[2] = GetWndCtrl( WIDC_CUSTOM3 );
wndCtrl[3] = GetWndCtrl( WIDC_CUSTOM4 );
wndCtrl[4] = GetWndCtrl( WIDC_CUSTOM5 );
wndCtrl[5] = GetWndCtrl( WIDC_CUSTOM6 );
wndCtrl[6] = GetWndCtrl( WIDC_CUSTOM7 );
wndCtrl[7] = GetWndCtrl( WIDC_CUSTOM8 );
wndCtrl[8] = GetWndCtrl( WIDC_CUSTOM9 );
wndCtrl[9] = GetWndCtrl( WIDC_CUSTOM10 );
Add this:
Code:
CString strEdit;
LPWNDCTRL wndCtrlexp = GetWndCtrl( WIDC_CUSTOM14 );
char cbufExp[16] = {0,};
CMover* pMover = CMover::GetActiveMover();
EXPINTEGER nExpResult = pMover->GetExp1() * (EXPINTEGER)10000 / pMover->GetMaxExp1();
float fExp = (float)nExpResult / 100.0f;
CRect therect = wndCtrlexp->rect;
if( therect.PtInRect( point ) )
{
CPoint point3 = GetMousePoint();;
ClientToScreen( &point3 );
ClientToScreen( &therect );
if( fExp >= 99.99f )
strEdit.Format( "LV: %d \nEXP: %d / 9999 (99.99%%)", pMover->GetLevel(), nExpResult, sprintf( cbufExp, "99.99%%" ) );
else
strEdit.Format( "LV: %d \nEXP: %d / 9999 (%.2f%%)", pMover->GetLevel(), nExpResult, sprintf( cbufExp, "%.2f%%", fExp ) );
g_toolTip.PutToolTip( 10000, strEdit, therect, point3, 0 );
}