1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
codigoLabel = CreateWindow("STATIC", "Código:",
WS_VISIBLE | WS_CHILD ,
160, 90, 45, 16.5,
hWnd, NULL, NULL, NULL);
SendMessage(codigoLabel, WM_SETFONT, WPARAM(hFont), TRUE);
codigoTextBox = CreateWindowEx(WS_EX_PALETTEWINDOW,
TEXT("Edit"),
NULL,
WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT,
160, 110, 200, 26,
hWnd, NULL, NULL, NULL);
SendMessage(codigoTextBox, WM_SETFONT, WPARAM(hFont), TRUE);
break;
|