SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the child window message handling status.
C
BOOL WINAPI SftTree_GetForwardChildMsgs(HWND hwndCtl); void WINAPI SftTree_SetForwardChildMsgs(HWND hwndCtl, BOOL fSet); BOOL WINAPI SftTreeSplit_GetForwardChildMsgs(HWND hwndCtl); void WINAPI SftTreeSplit_SetForwardChildMsgs(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftTree::GetForwardChildMsgs() const; void CSftTree::SetForwardChildMsgs(BOOL fSet); BOOL CSftTreeSplit::GetForwardChildMsgs() const; void CSftTreeSplit::SetForwardChildMsgs(BOOL fSet);
hwndCtl
The window handle of the tree control.
fSet
Set to TRUE so messages received for a tree control's child windows are forwarded to the tree control's parent window, otherwise set to FALSE.
GetForwardChildMsgs returns TRUE if messages for a child window are forwarded to the tree control's parent window, otherwise FALSE is returned.
The GetForwardChildMsgs and SetForwardChildMsgs functions define the child window message handling status.
Child windows can be created by an application and attached to a tree control by specifying the tree control as the owner of the child window. Child controls created in this manner are usually used for cell editing.
Child window messages are normally forwarded to the parent window of the tree control, so an application can implement all event handlers in the parent window.
If an application handles child control messages by subclassing the control or in a derived C++ class (which implicitly subclasses the window), these child messages need not be forwarded to the tree control's parent window. SetForwardChildMsgs can be used to suppress messages to be sent to the parent window, eliminating some of the overhead.
See Also C/C++ API | Categories | Notifications