Search found 33 matches: setwindowtheme

Return to advanced search

Re: Strange behavior of TGet

Antonio Linares wrote:Enrico,

It seems as Windows API is not properly applying the themes when the control is created from the ON INIT clause.

You can disable the themes on a specific control calling SetWindowTheme(), i.e.:


Ok, but now I don't get the theme on that control and the result is ugly. :-(

EMG
by Enrico Maria Giordano
Mon Apr 23, 2012 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange behavior of TGet
Replies: 13
Views: 3876

Re: Strange behavior of TGet

... When the controls are created from the ON INIT clause, the dialog already exists and Windows uses pixels. Thank you for the info. With SetWindowTheme() it is working fine. Regards Anser
by anserkk
Mon Apr 23, 2012 6:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange behavior of TGet
Replies: 13
Views: 3876

Re: Strange behavior of TGet

... is not properly applying the themes when the control is created from the ON INIT clause. You can disable the themes on a specific control calling SetWindowTheme(), i.e.: STATIC FUNCTION TEST( oDlg, cVar )    @ 1, 1 GET cVar OF oDlg SIZE 80, 25    SetWindowTheme( oDlg:aControls[ ...
by Antonio Linares
Mon Apr 23, 2012 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange behavior of TGet
Replies: 13
Views: 3876
Previous

Return to advanced search