The new attach() member function allows a foreign window to be swallowed into the FOX widget tree.
Added the ID_SETHELPSTRING, ID_GETHELPSTRING, ID_SETTIPSTRING and ID_GETTIPSTRING message identifiers to FXWindow, to handle getting and setting the status line help and tool tip strings. These work similarly to the ID_SETSTRINGVALUE and ID_GETSTRINGVALUE message identifiers; for example, to set the help string for a widget you could do this:
FXString helpString = "Status line help"; window->handle(this, FXSEL(SEL_COMMAND, FXWindow::ID_SETHELPSTRING), &helpString); |
and to get the help string:
FXString helpString; window->handle(this, FXSEL(SEL_COMMAND, FXWindow::ID_GETHELPSTRING), &helpString); |
A new member function, isOwnerOf(), is used inside FXApp to determine whether events are passed to a window or not. The upshot is that modal dialogs can now create non-modal subwindows, and thus events are passed to all windows owned (and ownership is transitive!!) by the modal window, and blocked elsewhere.
Added tag string to FXWindow for on-line help tagging of widgets; help systems may use this to provide context sensitive help for controls or dialogs. You can get or set the help tag for any window using the getHelpTag() and setHelpTag() member functions, respectively.