Window style for winhelp not initialized
Steven Edwards
steven_ed4153 at yahoo.com
Wed Sep 24 12:36:58 CDT 2003
Hello Pavel,
While you are looking at running the WINE programs under Windows can
you take a look at the uninstaller program? When I build this program
with Mingw or MS_VC and try to run it under Windows it crashes. It
seems somehow it has a problem loading the registry entries in the
uninstall key. If you run uninstaller on a clean Windows 2000 system it
will function without crashing but as soon as data is in that registry
branch it crashes.
Thanks
Steven
--- Pavel Roskin <proski at gnu.org> wrote:
> Hello!
>
> The style of the main winhelp window in not initialized. As a
> result, the
> main window has no buttons on it (both in Wine and Windows 2000).
> The
> patch sets win_style to WS_OVERLAPPEDWINDOW. Popup windows are not
> affected.
>
> ChangeLog:
> programs/winhelp/winhelp.c:
> Initialize style of the main window to WS_OVERLAPPEDWINDOW.
>
> --
> Regards,
> Pavel Roskin> --- programs/winhelp/winhelp.c
> +++ programs/winhelp/winhelp.c
> @@ -115,6 +115,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindo
> strcpy(mwi.caption, hlpfile->lpszTitle);
> mwi.origin.x = mwi.origin.y = mwi.size.cx = mwi.size.cy =
> CW_USEDEFAULT;
> mwi.style = SW_SHOW;
> + mwi.win_style = WS_OVERLAPPEDWINDOW;
> mwi.sr_color = mwi.sr_color = 0xFFFFFF;
> }
> return &mwi;
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the wine-devel
mailing list