Discussion:
CHtmlView
(too old to reply)
jim
2006-08-31 22:18:01 UTC
Permalink
We have a CHtmlView with two fames in a MFC application.

<html>
<frameset cols="30%,70%">
<frame name="menu" ...>
<frame name="detail" ...>
</frameset>
</html>

on the menu frame there are some links.
when you click the link, we use Navigate2() to request a .jsp page and put
it in the detail frame.

I know CHtmlView::GetReadyState()==READYSTATE_COMPLETE means the view is at
ready state.
I want to know when the detail frame is ready. I tried GetReadyState().
It didn't work. It always return me READYSTATE_COMPLETE even during
retieving of the detail page.
I believe it is giving me the state of the menu frame (which is the first
column of the page)
My question is - how Can I get the state of the detail frame (which is the
second column of this page)

Thanks a lot.
Jim
Ajay Kalra
2006-08-31 23:00:28 UTC
Permalink
You posted this in MFC ng as well. Take a look there for my reply. In
future, instead of multiposting, do a crosspost.

---
Ajay
Post by jim
We have a CHtmlView with two fames in a MFC application.
<html>
<frameset cols="30%,70%">
<frame name="menu" ...>
<frame name="detail" ...>
</frameset>
</html>
on the menu frame there are some links.
when you click the link, we use Navigate2() to request a .jsp page and put
it in the detail frame.
I know CHtmlView::GetReadyState()==READYSTATE_COMPLETE means the view is at
ready state.
I want to know when the detail frame is ready. I tried GetReadyState().
It didn't work. It always return me READYSTATE_COMPLETE even during
retieving of the detail page.
I believe it is giving me the state of the menu frame (which is the first
column of the page)
My question is - how Can I get the state of the detail frame (which is the
second column of this page)
Thanks a lot.
Jim
Loading...