I created a drop down list with two Russian language strings using CSB_DROPDOWNLIST. The strange thing is that when the static text is displayed, you can see the Russian characters fine, but when you click to drop down the list, they all show up as pipe characters (i.e. ||||||| instead of прерванные). See example here:
https://picasaweb.google.com/lh/photo/HLKDB1ZcK4_9YpgcZCuc2d5BgnHv85NhJtgGKZATaEE?feat=directlink.
Note that if I set it to Chinese or Korean, etc., I don't have this problem. Those Asian characters show up without issue.
Anyone else experience a similar problem before?
Below are the only two calls I make to create/update this control on initialization:
const HWND hwndComboBox = ::CreateWindowEx(
0,
WC_COMBOBOX,
TEXT(""),
CBS_DROPDOWNLIST | CBS_SIMPLE | WS_CHILD | WS_VSCROLL,
uX,
uY,
uWidth,
uHeight,
m_hWnd,
reinterpret_cast<HMENU>(m_uNumberOfControls),
m_hUserControlsModule,
0);
lResult = ::SendMessage(hwndComboBox, CB_ADDSTRING, 0, reinterpret_cast<LPARAM>(szItem));