问题描述
我在我的应用程序中基于CHtmlView实现了IE浏览器,即后退"和转发"; functon总是可用的,但是我想让"back"成为可能.当当前页面指向历史记录列表的第一个位置时,该按钮将被禁用,并使其前进".当前页面指向历史记录列表的最后一个位置时,该按钮将被禁用.
我无法在历史记录列表中找到该方法,因此无法实现该功能,有人可以告诉我该怎么做吗?非常感谢!
[edit]删除了不必要的代码标签-nelek [/edit]
I''v implemented an IE browser in my application base on CHtmlView, the "back" and "forward" functon are always avaliable, but I want to make the "back" button disabled when the current page point to the first position of the history list, and make the "forward" button disabled when the current page point to the last position of the history list.
I can''t find the method to the history list, so that I can''t implemented the function, is there anyone can inform me how to do it? thanks very much!
[edit] unnecessary code tags removed - nelek [/edit]
推荐答案
这篇关于如何访问CHtmlView的历史记录列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!