|
|
|
|
|
|
I try to display unicode text in the title bar of a window, but as a result only the starting letter is shown, while the rest is clipped. |
|
|
I'm not particularly familiar with this subject, but are you using a font that can display Unicode and is the resource file saved as Unicode? |
Look in your project settings -- somewhere in there it has a drop list that lets you select the character encoding to use. I think the 3 options you have are... |
#define UNICODE
and avoid having to choose, say CreateWindowW() instead of CreateWindow().
i couldnt find any character encoding options...im using Code::Blocks IDE |
You could just #define UNICODE and avoid having to choose, say CreateWindowW() instead of CreateWindow(). |
Ack. Sorry. I just assumed you were using VS because I saw ".rc" files. I didn't know C::B also used rc files. I'm out of ideas then. AFAIK, using the W version of WinAPI functions should be making this work. I don't know why it wouldn't be working here. =( |
|
|
i added it to my header file but it didnt fix my problem...could you give some more detail about how to use it |
|
|
It has to be defined BEFORE you include Windows.h
|
|
#define ID_MENU_ABOUT 6
|
|
|
|