Главная страница | назад





Article #15431: Enabling the apply button in a property sheet

 Question and Answer Database
FAQ431C.txt Enabling the apply button in a property sheet
Category :Windows API
Platform :All
Product :C++Builder 1.x
Question:
In straight API code, how do I enable the
apply changes button in a Property Sheet?
Answer:
Call the macrow PropSheet_Changed(HWND, HPROPSHEETPAGE),
passing it the handle to the dialog and the handle to the
page. This tells the property sheet that the information
in the page has changed, which causes it to enable the aplly
button.
Alternately, call
SendMessage(HWND, PSM_CHANGED, HPROPSHEETPAGE, 0), to
achieve the same effect.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99