minor wxFRAME_EX_CONTEXTHELP updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-01-11 00:02:48 +00:00
parent 3a3ef0bf61
commit 335c9e32fe
2 changed files with 13 additions and 1 deletions

View File

@@ -47,7 +47,11 @@ wxFRAME\_TOOL\_WINDOW or wxFRAME\_NO\_TASKBAR instead}
caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send
a wxEVT\_HELP event if the user clicked on an application window. {\it Note} that this is an extended a wxEVT\_HELP event if the user clicked on an application window. {\it Note} that this is an extended
style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction). style and must be set by calling \helpref{SetExtraStyle}{wxwindowsetextrastyle} before Create is called (two-step construction).
You cannot use this style together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX.} You cannot use this style together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so
you should use
{\tt wxDEFAULT\_FRAME\_STYLE & ~(wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the
frames having this style (the dialogs don't have minimize nor maximize box by
default)}
\end{twocollist} \end{twocollist}
The default frame style is for normal, resizeable frames. To create a frame The default frame style is for normal, resizeable frames. To create a frame

View File

@@ -2074,6 +2074,14 @@ default for the reasons explained in the
window from being used as an implicit parent for the dialogs which were window from being used as an implicit parent for the dialogs which were
created without a parent. It is useful for the windows which can disappear at created without a parent. It is useful for the windows which can disappear at
any moment as creating childs of such windows results in fatal problems.} any moment as creating childs of such windows results in fatal problems.}
\twocolitem{\windowstyle{wxFRAME\_EX\_CONTEXTHELP}}{Under Windows, puts a query button on the
caption. When pressed, Windows will go into a context-sensitive help mode and wxWindows will send
a wxEVT\_HELP event if the user clicked on an application window.
This style cannot be used together with wxMAXIMIZE\_BOX or wxMINIMIZE\_BOX, so
you should use the style of
{\tt wxDEFAULT\_FRAME\_STYLE & ~(wxMINIMIZE\_BOX | wxMAXIMIZE\_BOX)} for the
frames having this style (the dialogs don't have minimize nor maximize box by
default)}
\end{twocollist} \end{twocollist}
\membersection{wxWindow::SetFocus}\label{wxwindowsetfocus} \membersection{wxWindow::SetFocus}\label{wxwindowsetfocus}