I am trying to do a property sheet application in MFC.
I added the dialogues for each tab and all working fine.
But my actual problem is that when I placed a button on one of the tab, the program control actually not reaching there. This is what I have done.
Added a new dialog--> Created its class referring from CPropertyPage class
Added a button and textbox in gender tab and tried the below code:
void Gender::OnBnClickedBUTTON() { SetDlgItemInt(TEXTBOX_ID,1) }
I'm expecting the textbox to be printed with integer 1. But nothing happens.
Should I add something else?
I am actually stuck with the control flow of the program. please help.
BEGIN_MESSAGE_MAP(Gender, CPropertyPage) ON_BN_CLICKED(IDC_BUTTON1, &Gender::OnBnClickedButton1) END_MESSAGE_MAP() – VISHNU Jul 04 '14 at 05:05