I am using property sheet in wizard mode. I need to disable all
buttons(Back, Next, Cancel) for few seconds. Is there any easier way?
Radha
--
Ajay Kalra [MVP - VC++]
ajay...@yahoo.com
Note: Please post all replies to newsgroup only.
"Someone" <som...@yahoo.com> wrote in message
news:eq9TRzk4AHA.2008@tkmsftngp03...
Call this member function to enable or disable the Back, Next, or Finish
button in a wizard property sheet.
Also you can get the button handle by calling GetDlgItem and enable/disable
them by calling EnableWindow.
If I am planning to use GetDlgItem(), how will I get Ids of button controls?
Thanks for your reply,
Someone
"Billy" <zhy...@microsoft.com> wrote in message
news:9xX4Azo...@cppssbbsa01.microsoft.com...
Thanks,
Someone.
"Ajay Kalra" <ajay...@yahoo.com> wrote in message
news:OSkz3al4AHA.1644@tkmsftngp04...
As for the button id, they are predefined.
ID_WIZNEXT
ID_WIZBACK
ID_WIZFINISH
The following article is helpful.
HOWTO: How to Add the Finish Button to a Wizard Property Sheet
ID: Q143210
Artcile Q143210 helped me. I used GetDlgItem() to disable buttons.
Thanks for your help,
Someone.
"Billy" <zhy...@microsoft.com> wrote in message
news:Ssqddsz...@cppssbbsa01.microsoft.com...