Disabling APPLY button !

Hi ,

i am trying to create my own ui for DDK sample printer driver.I am able to
do so with the help of CPSFUNC_ADD_PROPSHEETPAGE !
However I would like to know if there is any method to disable the APPLY
button which comes by default when you create attaches your property
pages.
I tried following : in DrvDocumentProperties and DrvDeviceProperties,

if (psui_info->Reason == PROPSHEETUI_REASON_GET_INFO_HEADER)
{
psui_info->Flags |= PSUIHDRF_NOAPPLYNOW;
}

still was not able to do achieve the ,Could anyone please tell me how to
achieve this .

regards
-Rahul