2.2.6.24.4 PropertyPage::OnShowStatus

Description

Syntax

DWORD OnShowStatus( DWORD InternalStatus )

Parameters

InternalStatus
is the Show status, that is saved internally and will be used if no override is present

Return

PSS_Show: to Show the page

PSS_Hide: to not show this page, but treat this page, as a part of the group, create window and execute next etc

PSS_Ignore: to ignore this page totally, as if didn't exist

Examples

EX1

#include <..\originlab\dialogex.h>
#define IS_IGNORE_PAGE TRUE
        
class WizPage2 : public PropertyPage
{
public:
	DWORD    OnShowStatus(DWORD InternalStatus)
	{
		return IS_IGNORE_PAGE ? PSS_Ignore : InternalStatus;
	}
};

Remark

This func is called to decide if a page need to be shown or hidded or disabled.

the return value can be one of the following. You can return InternalStatus or

call base class implementation to, use the saved internal status

calling Order:

SN_NEXT, OnShowStatus(NextPage), SN_KILLACTIVE... or SN_BACK, OnShowStatus(PrevPage), SN_KILLACTIVE

See Also

Header to Include

Dialog.h