listbox header display

listbox header display

Postby Richard Chidiak » Fri Feb 29, 2008 1:35 pm

Antonio,

Redefine listbox (browse) has a bug in displaying headers with national chars (accented characters),

The bug comes from wbrowse.prg wbrwline function

Actual line 2286

if nRowPos == 0 .and. IsAppThemed()
DrawHeader( hWnd, hDC, nTop - 1, nLeft, nBottom, nRight, AnsiToOem( aValues[ n ] ) )


Ansitooem should be removed in order to allow correct display

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Antonio Linares » Fri Feb 29, 2008 7:50 pm

Richard,

thanks! :-)
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 51 guests