Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioninteresting question, number of 0s at the end of N! Pin
George_George2-Jun-06 21:16
George_George2-Jun-06 21:16 
AnswerRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw3-Jun-06 4:15
John R. Shaw3-Jun-06 4:15 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George4-Jun-06 16:31
George_George4-Jun-06 16:31 
GeneralRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw13-Jun-06 22:29
John R. Shaw13-Jun-06 22:29 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George13-Jun-06 22:37
George_George13-Jun-06 22:37 
GeneralRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw13-Jun-06 23:51
John R. Shaw13-Jun-06 23:51 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George14-Jun-06 2:35
George_George14-Jun-06 2:35 
GeneralRe: interesting question, number of 0s at the end of N! Pin
John R. Shaw14-Jun-06 2:59
John R. Shaw14-Jun-06 2:59 
GeneralRe: interesting question, number of 0s at the end of N! Pin
George_George14-Jun-06 3:42
George_George14-Jun-06 3:42 
AnswerRe: interesting question, number of 0s at the end of N! [modified] Pin
Stephen Hewitt4-Jun-06 14:06
Stephen Hewitt4-Jun-06 14:06 
GeneralRe: interesting question, number of 0s at the end of N! [modified] Pin
George_George4-Jun-06 16:30
George_George4-Jun-06 16:30 
GeneralRe: interesting question, number of 0s at the end of N! [modified] Pin
Stephen Hewitt4-Jun-06 17:48
Stephen Hewitt4-Jun-06 17:48 
GeneralRe: interesting question, number of 0s at the end of N! [modified] Pin
George_George4-Jun-06 17:50
George_George4-Jun-06 17:50 
QuestionCannot access classview. Pin
Anu_Bala2-Jun-06 20:49
Anu_Bala2-Jun-06 20:49 
AnswerRe: Cannot access classview. Pin
_AnsHUMAN_ 2-Jun-06 23:22
_AnsHUMAN_ 2-Jun-06 23:22 
Questionconvert unicode? Pin
raghuji.rao2-Jun-06 19:21
raghuji.rao2-Jun-06 19:21 
AnswerRe: convert unicode? Pin
Taka Muraoka2-Jun-06 20:59
Taka Muraoka2-Jun-06 20:59 
AnswerRe: convert unicode? Pin
knoxplusplus8-Jun-06 7:47
knoxplusplus8-Jun-06 7:47 
QuestionDoubt in Splitter window Pin
Member 30398432-Jun-06 19:18
Member 30398432-Jun-06 19:18 
AnswerRe: Doubt in Splitter window Pin
raghuji.rao2-Jun-06 19:24
raghuji.rao2-Jun-06 19:24 
AnswerRe: Doubt in Splitter window [modified] Pin
Sameer_Thakur2-Jun-06 23:51
Sameer_Thakur2-Jun-06 23:51 
GeneralRe: Doubt in Splitter window [modified] Pin
Member 30398433-Jun-06 1:30
Member 30398433-Jun-06 1:30 
GeneralRe: Doubt in Splitter window [modified] Pin
Sameer_Thakur4-Jun-06 3:26
Sameer_Thakur4-Jun-06 3:26 
Hi
I think the reason why u r getting an exception is that

void CMyTree::OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult)
{
..........
.............

wnd->m_wndSplitter1.DeleteView(0,1);

.......
.......
}

you have splitted the m_wndSplitter1 view into 1 row 2 col. Now while deleting you are writing

wnd->m_wndSplitter1.DeleteView(0,1);
which delets view assigned to one window only and second window is still having the view with it. So when you try to assign the view to this window you get an exception.

Insted you try

wnd->m_wndSplitter2.DeleteView(0,0);
wnd->m_wndSplitter2.DeleteView(0,1);


and then try to reassign the views.

Rakesh
GeneralRe: Doubt in Splitter window [modified] Pin
Member 30398434-Jun-06 18:02
Member 30398434-Jun-06 18:02 
GeneralRe: Doubt in Splitter window [modified] Pin
Sameer_Thakur4-Jun-06 19:56
Sameer_Thakur4-Jun-06 19:56 

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.