CGXView::OnNeedChangeTab
afx_msg LRESULT OnNeedChangeTab(WPARAM wParam, LPARAM lParam);
wParam
Specifies the zero-based register-index.
lParam
No meaning.
Return Value
TRUE if editing the tab-name is enabled; it is FALSE if editing the sheet-name should be prevented.
Remarks
If you want to handle the WM_GX_NEEDCHANGEDTAB message, you should add the following entry to the message-map of your view class:
ON_MESSAGE(WM_GX_NEEDCHANGEDTAB, OnNeedChangeTab)
OnNeedChangeTab is called when the user has double-clicked on the associated tab in the tab-beam. You should handle this message if you want to enable or disable changing the sheet-name.
An example is CGXGridView which returns GetParam()->IsEnableChangeTab().