I do the following and get a sharp pointed square window.
I wanted rounded corners.
Can you tell me what is wrong?
thanks
hwndIDYourself = CreateWindow ("button", "Identify\nYourself",
WS_CHILD | WS_VISIBLE | BS_CENTER | BS_MULTILINE,
0, 0, 1, 1,
hwndArg, (HMENU) IDC_W_ID_YOURSELF, hInstance, NULL);
....snip...
MoveWindow (hwndIDYourself,200,200,200,200,TRUE);
HRGN hRegion = CreateRoundRectRgn (0,0,200,200,200,200);
SetWindowRgn(hwndIDYourself, hRegion, TRUE);
UpdateWindow(hwndIDYourself);