TTRAYICON For xHarbour

Post Reply
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

TTRAYICON For xHarbour

Post by vilian »

Hi,

Somebody has a version of class TTRAYICON for xHarbour/FWH26?

Thanks,
Vilian F. Arraes
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
wmormar
Posts: 1050
Joined: Fri Oct 07, 2005 10:41 pm
Location: México
Contact:

Re: TTRAYICON For xHarbour

Post by wmormar »

vilian wrote:Hi,

Somebody has a version of class TTRAYICON for xHarbour/FWH26?

Thanks,
Vilian F. Arraes
Que tal.

Code: Select all

FUNCTION SetTray(oIcon,cEmpresa,oWnd,oTray)
         DEFAULT oTray := NIL
         oTray := TTrayIcon():New( oWnd,oIcon,cEmpresa,{|| (oWnd:Show(),Shell_NotifyIcon( 2,@oTray:oTray:cBuffer ),oWnd:setfocus()) }, ;
                                   {| nRow,nCol | MenuTray( nRow,nCol,@oWnd,@oTray ) } )
RETURN( oTray )
William, Morales
Saludos

méxico.sureste
Post Reply