Click here to Skip to main content
15,886,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
property sheet in dialog detecting page change
Hello Friends
I have propertysheet in one of my dialogs windows in my program.
I created several classes :
CZakladkiBiblioteki drived from CPropertySheet
CReBibPage , CRoBibPage , ... drived from CPropertyPage
(one for each page)
and CBibliotekaDlg drived from CDialog
now I want to change text of editbox in my dialog everytime
when user select another page in propertysheet.

I tried to send my own message from overridden OnInitDialog in CReBibPage , CRoBibPage , ...
C++
GetParent()->SendMessage(UWM_ON_REBIB, (WPARAM) GetDlgCtrlID());


... to my dialog, but window doesn't recive this message.
How to inform dialog window which page is now active in propertysheet?
Use messages or another way?
I would be grateful If someone can help me with this task
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900