コード例 #1
0
//----------------------------------------------------------------------------------------------
//	ApplyChangedSetting
//----------------------------------------------------------------------------------------------
VOID CControllerPage::ApplyChangedSetting()
{
	//	変数宣言
	HWND	Dialog	= GetParent( Wnd );

	//	設定を反映する
	ApplySetting();

	//	各ページに設定を反映する
	for( LONG Index = 1; Index < 7; Index ++ )
	{
		HWND	Page	= PropSheet_IndexToHwnd( Dialog, Index );
		if( Page != NULL )
		{
			SendMessage(
				 Page
				,WM_SETTING_LIST_CHANGED
				,NULL
				,NULL );
		}
	}

	//	プロパティ シートに変更を通知する
	PropSheet_Changed( Dialog, Wnd );
}
コード例 #2
0
void PropertiesDlg::write() {
	for(int i=0; i<numPages; i++)
	{
		// Check HWND of page to see if it has been created
		const HWND page = PropSheet_IndexToHwnd((HWND)*this, i);

		if(page != NULL)
			pages[i]->write();	
	}
}