SCF_NAVIGATION_EVENT Structure
Occurs when the user navigates from a page to any other type of page, except for menu selections. It is identified by the enumeration value SCF_NAVIGATION_EVENT Structure, which is passed as the value of the in_dwEventId parameter of the ISideShowEvents::ApplicationEvent Method.
Event Parameters:
The following table describes the parameters associated with the SCF_NAVIGATION_EVENT Structure.
Parameter |
Type |
Description |
PreviousPage |
CONTENT_ID |
The content identifier of the page on which the navigation was triggered. |
TargetPage |
CONTENT_ID |
The content identifier of the page to which the user is navigating. |
Button |
UINT32 |
The enumeration value that represents the button that caused the navigation to occur. |
C++ Parameter Structure:
The following C++ structure is defined in the file WindowsSideShow.h and shows how the parameters of the SCF_NAVIGATION_EVENT Structure are packaged to be passed to the ApplicationEvent method of the client-implemented ISideShowEvents interface. When this method is called, its in_pbEventData parameter points to a structure of the following form and its in_dwEventSize parameter is set to the size of this structure.
typedef struct tagSCF_NAVIGATION_EVENT
{
CONTENT_ID PreviousPage;
CONTENT_ID TargetPage;
UINT32 Button;
} SCF_NAVIGATION_EVENT, *PSCF_NAVIGATION_EVENT;
See Also
Concepts
ISideShowEvents::ApplicationEvent Method
SCF_CONTEXTMENU_EVENT Structure
SCF_MENUACTION_EVENT Structure