[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    A headers text drawing question
From:       Duane Clark <dclark () akamail ! com>
Date:       2002-02-28 22:54:58
[Download RAW message or body]

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.

Duane



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic