473,394 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Problem in QuerySibling of the PropertyPage Urgent Please

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;
abc.RemoveAll();
abc.Add("1");
abc.Add("2");
abc.Add("3");
abc.Add("4");
abc.Add("5");
if(QuerySiblings(1,(LPARAM)&abc)){ //Sending Data to Third Page
CancelToClose();
}
return CPropertyPage::OnSetActive();
}
/-----------------------------------------------------------------------------
third Page:

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

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

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

pString->RemoveAll();
break;
}

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.

uday.
May 4 '06 #1
0 1067

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rob | last post by:
I have a form - when you click the submit button, it appends a variable to the URL (e.g. xyz.cgi?inputID=some_dynamic_variable) It also opens a new page. Now, that some_dynamic_variable is...
1
by: marmot101 | last post by:
Hi, All, Is there PropertySheet and PropertyPage equivalent Class in C#? If there is no, is there similiar mechanism to create such a page in C#? Thanks for the help. marmot101
28
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
2
by: CrimeMaster | last post by:
I have created a class derived from CToolbarCtrl. in this class i have added some push buttons and some dropdown buttons.In which one of them is setting button.when i click this button a property...
4
by: Al Norman | last post by:
We have two separate DLLs that do not interact (directly, at least). One is an MFC extension DLL that was built back in VC++ 6 days (but has been recompiled with VS2005). The other is a DLL that...
14
by: Brad | last post by:
I have a .net 2.0 web application project that creates a pdf file, saves the pdf to disk (crystal reports does this part), and then my code reads the pdf file and writes it to the httpresponse ...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
3
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I cut and paste the following code from msdn help page which it just introduces view and multiview server controls. Here is what I do: in vs studio 2005, File --New Web Site, it...
0
by: sandeepkavade | last post by:
Hi, I am basically a VC++ developer but now working on C#. I am having a assembly in that i have added a UserControl and on that UserControl I am having a tree-view control and Property Grid...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.