Set win_style of the main window to WS_OVERLAPPEDWINDOW.
This commit is contained in:
parent
d2936e6ab0
commit
954765e0cc
|
@ -115,6 +115,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name)
|
||||||
strcpy(mwi.caption, hlpfile->lpszTitle);
|
strcpy(mwi.caption, hlpfile->lpszTitle);
|
||||||
mwi.origin.x = mwi.origin.y = mwi.size.cx = mwi.size.cy = CW_USEDEFAULT;
|
mwi.origin.x = mwi.origin.y = mwi.size.cx = mwi.size.cy = CW_USEDEFAULT;
|
||||||
mwi.style = SW_SHOW;
|
mwi.style = SW_SHOW;
|
||||||
|
mwi.win_style = WS_OVERLAPPEDWINDOW;
|
||||||
mwi.sr_color = mwi.sr_color = 0xFFFFFF;
|
mwi.sr_color = mwi.sr_color = 0xFFFFFF;
|
||||||
}
|
}
|
||||||
return &mwi;
|
return &mwi;
|
||||||
|
|
Loading…
Reference in New Issue