Click here to Skip to main content
15,914,221 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WndProc Pin
HakunaMatada4-May-06 0:35
HakunaMatada4-May-06 0:35 
GeneralRe: WndProc Pin
Stephen Hewitt4-May-06 15:59
Stephen Hewitt4-May-06 15:59 
Questiondblclick event for CListCtrl Pin
NoName II3-May-06 23:16
NoName II3-May-06 23:16 
AnswerRe: dblclick event for CListCtrl Pin
Justin Tay3-May-06 23:32
Justin Tay3-May-06 23:32 
QuestionRe: dblclick event for CListCtrl Pin
David Crow4-May-06 2:29
David Crow4-May-06 2:29 
Questionlike watchdog Pin
binhminhtn3-May-06 23:01
binhminhtn3-May-06 23:01 
QuestionI "lost" _com_dispatch_method [solved, weird] Pin
peterchen3-May-06 22:58
peterchen3-May-06 22:58 
QuestionProblem in QuerySibling of the PropertyPage Urgent Please Pin
kiran janaswamy3-May-06 22:48
kiran janaswamy3-May-06 22:48 
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.

uday kiran
AnswerRe: Problem in QuerySibling of the PropertyPage Urgent Please Pin
kiran janaswamy4-May-06 0:46
kiran janaswamy4-May-06 0:46 
QuestionCan CFile set/get the text file font type? Pin
zeus_master3-May-06 22:43
zeus_master3-May-06 22:43 
AnswerRe: Can CFile set/get the text file font type? Pin
Nibu babu thomas3-May-06 22:48
Nibu babu thomas3-May-06 22:48 
AnswerRe: Can CFile set/get the text file font type? Pin
Cedric Moonen3-May-06 22:52
Cedric Moonen3-May-06 22:52 
GeneralRe: Can CFile set/get the text file font type? Pin
zeus_master4-May-06 4:12
zeus_master4-May-06 4:12 
AnswerRe: Can CFile set/get the text file font type? Pin
kk.tvm3-May-06 23:13
kk.tvm3-May-06 23:13 
AnswerRe: Can CFile set/get the text file font type? Pin
kakan4-May-06 0:16
professionalkakan4-May-06 0:16 
GeneralRe: Can CFile set/get the text file font type? Pin
zeus_master4-May-06 15:21
zeus_master4-May-06 15:21 
AnswerRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 0:09
Cedric Moonen4-May-06 0:09 
GeneralRe: will someone look here................................................................................. Pin
yang__lee4-May-06 0:37
yang__lee4-May-06 0:37 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 0:54
Cedric Moonen4-May-06 0:54 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 1:28
Cedric Moonen4-May-06 1:28 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 1:49
Cedric Moonen4-May-06 1:49 
GeneralRe: will someone look here................................................................................. Pin
yang__lee4-May-06 2:40
yang__lee4-May-06 2:40 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 3:10
Cedric Moonen4-May-06 3:10 
QuestionHow do I change the menubar's background ? Pin
Happy frog3-May-06 22:34
Happy frog3-May-06 22:34 
QuestionMemory leak coming from COleSafeArray object Pin
lastgen3-May-06 22:31
lastgen3-May-06 22:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.