The other thing is, when used the Asian languaged XP (like Chinese ver.), The title-text on the window's title-bar could be draw corrupted if the title string contains the local-language characters. I don't know how this bug comes out. I guess that you have used the GDI api to draw text string to a per-pixel-alpha bitmap(trsnf from PNG). Most of them do not check the null-terminating character for ending string, they always use the legth you provided to as the real length of the string. so you guys passed incorrected value as the length, caused more characters after a null-terminating character also being painted out.
|