Enable titlebar buttons in winhelp
proski at gnu.org
Fri Oct 3 14:53:16 CDT 2003
I sent it already, but the patch was lost. I strongly believe the patch
is correct. Popup windows have their win_style set in
WINHELP_GetPopupWindowInfo(), but the main window doesn't have its
win_style set in the corresponding WINHELP_GetWindowInfo() function.
Windows without style have no buttons, which looks very confusing.
Set win_style of the main window to WS_OVERLAPPEDWINDOW.
-------------- next part --------------
@@ -115,6 +115,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindo
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;
More information about the wine-patches