By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,165 Members | 840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,165 IT Pros & Developers. It's quick & easy.

Problem in QuerySibling of the PropertyPage Urgent Please

P: n/a
hi all,

i am getting problem on QuerySibling(...) method of PropertyPage please tell
me, i am writing QuerySibling(...) method in PropertyPage named two and
sending some Data to PropertyPage three where i am collecting the Data. But
in first time the Page is not able to Transfer the Data to ThirdPage.

here is the snippet of code.

second page:
BOOL two::OnSetActive()
CStringArray abc;
if(QuerySiblings(1,(LPARAM)&abc)){ //Sending Data to Third Page
return CPropertyPage::OnSetActive();
third Page:

LRESULT three::OnQuerySiblings( WPARAM wParam, LPARAM lParam )
case 1:

CStringArray* pString = (CStringArray*)lParam;
if(str1.GetSize() > 0) //Remove all the Map Values

for(int i =0;i< pString->GetSize();i++)
str1.Add(pString->GetAt(i)); //Collecting Data from Page Two !!!


return Default();

for the first time i am not able see the Reflected Data in Page Three after
traversal of page2 (two) to page3 (three) twice only i am getting the data.

but in MSDN he has given the only method to be change the data from one
property page to another property page.

please let me know it is urgent!!!!!!!!!.

help me out.

May 4 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.