listbox header display

Post Reply
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

listbox header display

Post by Richard Chidiak »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply