Re: [PATCH 2/5] explorerframe/nstc: Create the treeview on initialization. (try 2)
3 Aug
2010
3 Aug
'10
9:36 a.m.
David Hedberg <david.hedberg(a)gmail.com> writes:
+static LRESULT resize_namespacetree(NSTC2Impl *This) +{ + RECT rc; + TRACE("%p\n", This); + + GetClientRect(This->hwnd_main, &rc); + SetWindowPos(This->hwnd_tv, HWND_TOP, rc.left, rc.top, + rc.right, rc.bottom, SWP_SHOWWINDOW);
Again, that's not the correct usage of SetWindowPos. You don't want to show or activate it. What you probably want is MoveWindow. -- Alexandre Julliard julliard(a)winehq.org
5611
Age (days ago)
5611
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard