Hi - I am trying to program a Tab controlled used a GUI interface in C. I am new and the code below (Which works) was found on the internet :
The master Window is:
and the Tab is:
The problem is that it appear on the entire screen. Is there a way to control the width? Thank You...
The master Window is:
Code:
HWND hwnd = CreateWindowExW(0, CLASS_NAME, L"Tab Control with Listbox",
WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT,
550, 300, NULL, NULL, hInstance, NULL);
C:
hwndTab = CreateWindowEx(0,WC_TABCONTROL, "", WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN |
WS_VISIBLE | WS_OVERLAPPEDWINDOW, 0, 10, 15, 100, hwnd, (HMENU)100, GetModuleHandle(NULL),
NULL);
The problem is that it appear on the entire screen. Is there a way to control the width? Thank You...