I have the followig code

CPropertySheet sheet;

CPage1 page1;

CPage2 page;

sheet.AddPage(&page1);

sheet.AddPage(&page2);

sheet.DoModal();

it displays a propertysheet with ok,cancel, and apply button but the last button is not enables. How will I use the

apply button?