FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fix Skin Class
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Fix Skin Class
Posted: Fri May 20, 2022 02:24 AM
Hi
I found Skin class not support Chinese and appear symbol.
Look it Below:


so I fix Skin source code 155 line below:
Code (fw): Select all Collapse
Old
::this[2]:bPainted := { || SetBkMode( ::this[2]:hDC, 1 ), SetTextColor(::this[2]:hDC, ::cTitleColor),TextOut( ::this[2]:hDC, 5, 5, ::Win:cTitle ) }

New
::this[2]:bPainted := { || SetBkMode( ::this[2]:hDC, 1 ), SetTextColor(::this[2]:hDC, ::cTitleColor),TextOutW( ::this[2]:hDC, 5, 5, ::Win:cTitle ) }


Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fix Skin Class
Posted: Fri May 20, 2022 10:25 AM

Thanks

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion