1 2 3 4 5 6 7
|
mainwindow = CreateWindow("classname", mainwindowstr, WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_VSCROLL, CW_USEDEFAULT, CW_USEDEFAULT, WindowRect.right - WindowRect.left, WindowRect.bottom - WindowRect.top, NULL, NULL, inst, NULL);
for(int a = 0; a < 10; a++){
trow[a] = CreateWindow("trow", NULL, WS_CHILD | WS_VISIBLE, 0, a*20, 200, 20, mainwindow, NULL, inst, NULL);
for(int n = 0; n < 10; n++)
tbox[n][a] = CreateWindow("EDIT", NULL, WS_CHILD | WS_BORDER | WS_CLIPSIBLINGS | WS_VISIBLE, n*20, a*20, 20, 20, trow[a], NULL, inst, NULL);}
|