TaskBar

TaskBar

Postby Silvio.Falconi » Fri Mar 11, 2016 9:48 am

Dear Antonio
But we not have a TaskBar class on fwh ?
I remember someone made this class perhaps Paco I not remember right
it is very strange I am sure it was on fwh...


Code: Select all  Expand view
#include "FiveWin.ch"



static oWnd

function Main()
   DEFINE WINDOW oWnd TITLE "Taskbar Message"
          DEFINE BUTTONBAR oBar _3D OF oWnd noborder 2015

          DEFINE BUTTON OF oBar ACTION TaskbarMsg( "This a sample a message", 4 )



   ACTIVATE WINDOW oWnd
   return nil

//-----------------------------------------------------------------------------------//




Function TaskbarMsg(cMsg,nTime)
   local oDlgtask, oBrush

DEFAULT cMsg := "undefines.."

   DEFINE WINDOW oDlgtask ;
          FROM GetSysMetrics(1),GetSysMetrics(0)-300 TO 200,200 PIXEL ;
          COLOR nRGB(255,255,255),nRGB(250,250,250) NO CAPTION BORDER NONE

   @ 5, 5 GET cMsg MEMO OF oDlgtask SIZE 195,195 PIXEL;
                  COLOR nRGB(000,000,000),nRGB(250,250,250) ;
                  NOBORDER NO MODIFY NO VSCROLL



          ACTIVATE WINDOW oDlgtask ON INIT MoveDLG(oDlgtask,nTime)
   return nil
//-----------------------------------------------------------------------------------//


Function MoveDLG(otask,oTime)
  Local  oDlgheight := GetSysMetrics(1)


   SndPlaySound( "C:\Work\fwh\sounds\alert.wav", 0 )

   for i = 1 to 20
        oDlgheight :=  oDlgheight - i
       oTask:Move(  oDlgheight, 100, 200, 200, .t. )
       SysWait(.02)
   next
   SysWait(oTime)
   for i = 1 to 20
        oDlgheight :=  oDlgheight + i
       otask:Move(  oDlgheight, 100, 200, 200, .t. )
       SysWait(.02)
   next
   otask:end()
   return
 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: TaskBar

Postby Antonio Linares » Sat Mar 12, 2016 7:12 am

Silvio,

I just searched sources and examples and I don't find it

I don't remember to have one
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TaskBar

Postby Silvio.Falconi » Sat Mar 12, 2016 8:10 am

Just in the gym last night I remembered that Antonino did something of it and I remembered that I could not complete because not yet worked with bcc7
I believe if we ask antonino perricone we can 'help you how to make a class
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: TaskBar

Postby Silvio.Falconi » Sat Mar 12, 2016 8:23 am

I found something ....searching on google ... TTaskbarNotifier+harbour
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: TaskBar

Postby rhlawek » Mon Mar 14, 2016 12:54 am

viewtopic.php?f=3&t=22872

also source\classes\ttray.prg
User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: TaskBar

Postby Silvio.Falconi » Mon Mar 14, 2016 8:00 am

ttray is not taskbar class but another....insert icons not show messages
for the first topic you can see my comment for it ( on xharbour and bcc7 not compile and Antonio have other problems)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: EASYSOFT and 20 guests