I have a Win32 program where the main window is a dialog, so I can create all the controls using the resource.rc file. I am stuck in creating a button using a Unicode character. It works using the CreateWindowEx () function, but not in the resource file. Why is this?
I tried the following lines of code in the resource file:
#include <wchar.h> // tried with and without this header file
CONTROL "\u2190", IDC_BACK
CONTROL L"\u2190", IDC_BACK
source
share