How to diable ok button of property sheet
-
Hello all, For certain condition in my application I want to disable ok button of property page. Can anybody please tell me how to do that? regards, Aj
-
Hello all, For certain condition in my application I want to disable ok button of property page. Can anybody please tell me how to do that? regards, Aj
-
You can do it using CPropertySheet::SetWizardButtons with PSWIZB_DISABLEDFINISH, take a look here: http://msdn2.microsoft.com/en-us/library/ex7e7b4s.aspx[^] Cheers.
osanchez@prodys.net wrote:
You can do it using CPropertySheet
but he asks for CPropertyPage. Also there is no OK buttons in the CPropertySheet ...right? nave
-
Hello all, For certain condition in my application I want to disable ok button of property page. Can anybody please tell me how to do that? regards, Aj
jadhav123 wrote:
For certain condition in my application I want to disable ok button of property page. Can anybody please tell me how to do that?
have a look at this article :- http://codeproject.com/property/hacking_the_cpropertyshee.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You
-
osanchez@prodys.net wrote:
You can do it using CPropertySheet
but he asks for CPropertyPage. Also there is no OK buttons in the CPropertySheet ...right? nave