74 if (
style != new_style)
91 0, 0, 0, 0,
pData->m_hwndParent,
103 prcPercents->
top = (uEdges &
BF_TOP) ? 0 : 100;
109 const RECT *rcClient)
111 RECT rcChild, NewRect, rcPercents;
112 LONG nWidth, nHeight;
118 nWidth = rcClient->
right - rcClient->
left;
119 nHeight = rcClient->
bottom - rcClient->
top;
147 for (iItem = 0; iItem <
pData->m_cLayouts; ++iItem)
157 RECT rcClient, rcChild, rcPercents;
158 LONG nWidth, nHeight;
163 nHeight = rcClient.
bottom - rcClient.
top;
165 for (iItem = 0; iItem <
pData->m_cLayouts; ++iItem)
180 pInfo->
m_margin1.
cy = rcChild.top - nHeight * rcPercents.
top / 100;
220 cLayouts = -cLayouts;
229 pData->m_cLayouts = cLayouts;
#define HeapFree(x, y, z)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
static __inline void LayoutEnableResize(LAYOUT_DATA *pData, BOOL bEnable)
static __inline void _layout_ModifySystemMenu(LAYOUT_DATA *pData, BOOL bEnableResize)
static __inline void _layout_ArrangeLayout(LAYOUT_DATA *pData)
static __inline LAYOUT_DATA * LayoutInit(HWND hwndParent, const LAYOUT_INFO *pLayouts, INT cLayouts)
static __inline void LayoutDestroy(LAYOUT_DATA *pData)
static __inline HDWP _layout_DoMoveItem(LAYOUT_DATA *pData, HDWP hDwp, const LAYOUT_INFO *pLayout, const RECT *rcClient)
static __inline void _layout_InitLayouts(LAYOUT_DATA *pData)
static __inline HDWP _layout_MoveGrip(LAYOUT_DATA *pData, HDWP hDwp OPTIONAL)
static __inline void LayoutUpdate(HWND ignored1, LAYOUT_DATA *pData, LPCVOID ignored2, UINT ignored3)
static __inline void _layout_GetPercents(LPRECT prcPercents, UINT uEdges)
static __inline void LayoutShowGrip(LAYOUT_DATA *pData, BOOL bShow)
#define memcpy(s1, s2, n)
static HMODULE MODULEINFO DWORD cb
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define UNREFERENCED_PARAMETER(P)
PULONG MinorVersion OPTIONAL
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
BOOL WINAPI IsWindow(_In_opt_ HWND)
#define GetWindowLongPtrW
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define SW_SHOWNOACTIVATE
HMENU WINAPI GetSystemMenu(_In_ HWND, _In_ BOOL)
BOOL WINAPI EndDeferWindowPos(_In_ HDWP)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
BOOL WINAPI RemoveMenu(_In_ HMENU, _In_ UINT, _In_ UINT)
#define SWP_NOOWNERZORDER
HDWP WINAPI DeferWindowPos(_In_ HDWP, _In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
#define SetWindowLongPtrW
BOOL WINAPI IsWindowVisible(_In_ HWND)
BOOL WINAPI EqualRect(_In_ LPCRECT, _In_ LPCRECT)
int WINAPI GetSystemMetrics(_In_ int)
HDWP WINAPI BeginDeferWindowPos(_In_ int)