diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-08 20:53:34 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-08 20:53:34 -0400 |
| commit | fef91d9820b5df51f2ef7aff49043933f2e413b9 (patch) | |
| tree | 3498d4f54429a212176258d1a0a2e4861be867eb /new/container_windows.c | |
| parent | 87bb7328324a626d6278eaa204206311f717c7fb (diff) | |
"Fixed" initial Windows window shows for now (see previous commit). Not yet a clean fix; need to test some things on real Windows first.
Diffstat (limited to 'new/container_windows.c')
| -rw-r--r-- | new/container_windows.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/new/container_windows.c b/new/container_windows.c index d56830e..27f01d2 100644 --- a/new/container_windows.c +++ b/new/container_windows.c @@ -94,10 +94,13 @@ void updateParent(uintptr_t h) if (h == 0) // no parent return; hwnd = (HWND) h; +/*TODO // TODO is there a better way? if (GetWindowRect(hwnd, &r) == 0) logLastError("error getting window rect for dummy move in updateParent()"); if (MoveWindow(hwnd, r.left, r.top, r.right - r.left, r.bottom - r.top, TRUE) == 0) logLastError("error moving window in updateParent()"); +*/ + SendMessageW(hwnd, msgUpdateChild, 0, 0); // TODO invalidate rect? } |
