A headers text drawing question

Duane Clark dclark at akamail.com
Thu Feb 28 16:54:58 CST 2002

A small question. I was curious if there was a particular reason that 
HEADER_DrawItem was using the unicode DrawText functions? For my recent 
listview testing, I whipped up a quick app with a couple of listviews in 
it. And not knowing how to make the headers use unicode (I am very new 
to writing Windows apps), under wine all the headers had the little 
squares instead of the correct text.

Going to header.c line 299 and changing the DrawTextW to DrawTextA draws 
the headers correctly in my test app. Also there is a BOOL flag in the 
HEADER_INFO struct for unicode. So I guess I am wondering if there is 
some reason not to test that flag and draw the header accordingly?

I am still trying to figure out how to make my app use unicode (I am 
using Borland C++), or to find an app that uses unicode headers.


More information about the wine-devel mailing list