[PATCH 3/3] hhctrl.ocx: Resize the window when HH_SET_WIN_TYPE is called (try 3, resend 2).
Alexandre Julliard
julliard at winehq.org
Wed Sep 5 06:44:47 CDT 2012
"Erich E. Hoover" <ehoover at 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 at winehq.org
More information about the wine-devel
mailing list