Fix Skin Class

Fix Skin Class

Postby richard-service » Fri May 20, 2022 2:24 am

Hi
I found Skin class not support Chinese and appear symbol.
Look it Below:
Image

so I fix Skin source code 155 line below:
Code: Select all  Expand view

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 ) }
 


Image
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Fix Skin Class

Postby nageswaragunupudi » Fri May 20, 2022 10:25 am

Thanks
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10619
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests