Well, you can also do this, and this is not much different from @Mark Ransom's answer: -
HWND button = CreateWindowW(TEXT("BUTTON"), TEXT("\u27F3"), WS_TABSTOP|WS_VISIBLE|WS_CHILD|BS_PUSHBUTTON, size - 105, size - 29, 100, 24, hwnd, (HMENU)IDI_BUTTON, GetModuleHandle(NULL), NULL);
and define UNICODE in your program as follows: -
#define UNICODE
Explanation: - TEXT is a macro that expands to a Unicode equivalent; if UNICODE is defined differently, it evaluates a normal ASCII string.
source share