AddButton to CXTPPropertySheet |
Post Reply |
Author | |
Tello74
Newbie Joined: 10 June 2009 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 28 January 2010 at 12:35pm |
Hi,
MyPropertySheet extends CXTPPropertySheet.
Into the OnInitDialog I wrote the following code:
// Setting property sheet buttons
RemoveButtons(); AddButton(IDS_SETTINGS_BUTTON1, ID_ONE_BUTTON); AddButton(IDS_SETTINGS_BUTTON2, ID_TWO_BUTTON); The standard property sheet buttons (OK, CANCEL, APPLY, HELP) disappear BUT my new ones don't appear. They only appear if I drag the prop sheet corner causing a property sheet repaint. In addition I can't find a command (Invalidate, InvalidateRect have no success) to force the prop sheet repaint. Something is wrong in my code? Is there a command showing the added buttons? Thank you!!!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |