Dialogs can now show a question mark for context-sensitive help.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-09-06 13:23:21 +00:00
parent 41328253cd
commit c43e86bda6
2 changed files with 12 additions and 0 deletions

View File

@@ -2384,6 +2384,12 @@ bool wxWindow::MSWCreate(int id,
return FALSE;
}
if (extendedStyle != 0)
{
::SetWindowLong(GetHwnd(), GWL_EXSTYLE, extendedStyle);
::SetWindowPos(GetHwnd(), NULL, 0, 0, 0, 0,
SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
}
// ::SetWindowLong(GWL_EXSTYLE) doesn't work for the dialogs, so try
// to take care of (at least some) extended style flags ourselves