Page 1 of 1

To Antonio

Posted: Thu Feb 02, 2006 9:49 am
by Silvio
Why wbrowse of fw not have the header highliths ( XP theme) ?
It is very difficul to make it ?

Regards
silvio

Posted: Thu Feb 02, 2006 10:04 am
by Antonio Linares
Silvio,

Its on our to-do list. Its not so difficult, but we had no time yet to implement it.

Posted: Thu Feb 02, 2006 3:32 pm
by Silvio
thanks Antonio,
I want ask you another question :
On one sample compiled with C3 I saw it is possible change the theme of a dialog pressing a button.
It is possible also on (x) harbour ?

here i can post the code of the button ( sample of C3)

Code: Select all

METHOD Button1OnClick( oSender ) CLASS TForm1

   static bThemed := .T.

   bThemed := !bThemed
   ::Caption := If( bThemed, "Con", "Sin" ) + " temas"
   ::Themed := bThemed
   AEval( ::Controls, { | oControl | oControl:Themed := bThemed, ;
          AEval( oControl:Controls, { | oControl | oControl:Themed := bThemed } )                 } )

return
it change the dialog theme and all the controls
I think there is a function also in (x) harbour to make it ...

Regards
silvio
[/code]

Posted: Thu Feb 02, 2006 5:05 pm
by Antonio Linares
Silvio,

Yes the themes API provides a function to enable/disable themes for a hWnd. We have not implemented it yet.

Posted: Thu Feb 02, 2006 10:54 pm
by Silvio
I hope put it on todo list....

Best Regards