Re: [PATCH 3/3] hhctrl.ocx: Resize the window when HH_SET_WIN_TYPE is called (try 3, resend 2).
"Erich E. Hoover" <ehoover(a)mymail.mines.edu> writes:
@@ -266,7 +266,7 @@ void MergeChmProperties(HH_WINTYPEW *src, HHInfo *info) if (merge & HHWIN_PARAM_PROPERTIES) dst->fsWinProperties = src->fsWinProperties; if (merge & HHWIN_PARAM_STYLES) dst->dwStyles = src->dwStyles; if (merge & HHWIN_PARAM_EXSTYLES) dst->dwExStyles = src->dwExStyles; - if (merge & HHWIN_PARAM_RECT) dst->rcWindowPos = src->rcWindowPos; + if (merge & HHWIN_PARAM_RECT || override) dst->rcWindowPos = src->rcWindowPos; if (merge & HHWIN_PARAM_NAV_WIDTH) dst->iNavWidth = src->iNavWidth; if (merge & HHWIN_PARAM_SHOWSTATE) dst->nShowState = src->nShowState; if (merge & HHWIN_PARAM_INFOTYPES) dst->paInfoTypes = src->paInfoTypes;
You still need to check the source flags. -- Alexandre Julliard julliard(a)winehq.org
participants (1)
-
Alexandre Julliard