-
never seen this before
Code:
if(ghWnd_Main) {
int hold = 3;
for(i=1; i<=5; i++) {
INPUT[i] = CreateWindowEx(WS_EX_CLIENTEDGE, "Edit", "", WS_CHILD | WS_VISIBLE, 0, hold, 175, 20, ghWnd_Main, NULL, hInstance, NULL);
//START[i] = CreateWindow("Button", "&GO", WS_CHILD | WS_VISIBLE, 180, hold, 50, 20, ghWnd_Main, NULL, hInstance, NULL);
// OUTPUT = CreateWindow("Button", "", WS_CHILD | WS_VISIBLE, , 60, 100, 25, ghWnd_Main, NULL, hInstance, NULL);
hold = hold + 23;
}
ShowWindow(ghWnd_Main, nCmdShow); // Show using the specific show style
}
Every time I try to add a control my window doesn't show up :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused:
-
Does it show up when you try to only show the window? Do you have the full code?
-
Are you sure it is legal to not supply a child window ID (the HMENU parameter)?