ui/win32/grid.c

changeset 891
0804fc9298f6
parent 844
3106d9ca2f9c
child 892
0fbaac4aafc8
equal deleted inserted replaced
890:8d30cbd1c465 891:0804fc9298f6
292 } 292 }
293 293
294 child_x = col->pos + elm->layout.margin.left; 294 child_x = col->pos + elm->layout.margin.left;
295 child_y = row->pos + elm->layout.margin.top; 295 child_y = row->pos + elm->layout.margin.top;
296 SetWindowPos(elm->widget->hwnd, NULL, child_x, child_y, child_width, child_height, SWP_NOZORDER); 296 SetWindowPos(elm->widget->hwnd, NULL, child_x, child_y, child_width, child_height, SWP_NOZORDER);
297 InvalidateRect(elm->widget->hwnd, NULL, TRUE);
298 UpdateWindow(elm->widget->hwnd);
297 if (elm->widget->layout) { 299 if (elm->widget->layout) {
298 elm->widget->layout(elm->widget->layoutmanager, child_width, child_height); 300 elm->widget->layout(elm->widget->layoutmanager, child_width, child_height);
299 } 301 }
300 } 302 }
301 303

mercurial