Originally posted by: Pentomic
It's Very what I searching.......!
Thanks for.....your job.
Originally posted by: Kostya
I'm using this class in my program and it works very good.
ReplyOriginally posted by: Meena
Thank you for you demo code...It got me out of the stupid mistake i had made
Originally posted by: Bundy
i made a dialog based application with the property sheet model you have presented,
and if i add a RichEdit control to ANY of the pages, then the page simply disappears
when i click on its tab! (instead of being displayed, it disappears, the page AND the tab).
i have also tried this with your own sample project, and i got the same results.
personally, i couldn't figure out how to fix this. i *think* the problem
is with the UpdateData function, but i'm not sure.
Reply
Originally posted by: Simon De meulemeester
Hello,
I've tried your code and it works fine. However, when I try to use my own defined property sheet the compiler says that no default constructor is available for m_internal_sheet. Do you or anybody else knows how to solve this problem?
ReplyOriginally posted by: juhasaproblem
I've made a CPropertyPage that I use in a CPropertySheet but I'd like to use too this CPropertyPage as a CDialog : the problem is that I can't close this CPropertyPage...
Thanks for help me !!!!
Originally posted by: Ofer Erlich
HWND CDataExchange::PrepareCtrl(int nIDC)
I try to add propertysheet inside propertysheet to a dilog which is in a CFormView Class.
The first time the dialog is on every thing is fine , but the second time the system fail and it because of this function
{
ASSERT(nIDC != 0);
ASSERT(nIDC != -1); // not allowed
HWND hWndCtrl;
m_pDlgWnd->GetDlgItem(nIDC, &hWndCtrl);
if (hWndCtrl == NULL)
{
TRACE1("Error: no data exchange control with ID 0x%04X.\n", nIDC);
ASSERT(FALSE); // here is the problem
AfxThrowNotSupportedException();
}
m_hWndLastControl = hWndCtrl;
m_bEditLastControl = FALSE; // not an edit item by default
ASSERT(hWndCtrl != NULL); // never return NULL handle
return hWndCtrl;
}
what can be done to avoid this?
Originally posted by: Keivan Eshghi
I implemented your code in my project. It works fine.
Thanks
Reply
Originally posted by: Victor
as above...any suggestions??
ReplyOriginally posted by: Joe Ersinghaus
Your code has been a great help! Thanks!
Was having trouble setting the focus to a control inside
Appreciate the help!
Joe
Hi,
the inside property sheet. My outside property sheet is in wizard mode. I've tried setting the focus to the control and then returning false in my OnInit() function in the property page code. Using VC6.