Link to home
Start Free TrialLog in
Avatar of gkibble
gkibble

asked on

Seeking property list for CHtmlView::GetProperty

I'm searching for a way to determine when a WebBroswer object is at the top of the history list and the "back" button should be disabled.
The best I could figure from the MSDN is to use the function CHtmlView::GetProperty(). But nowhere could I find a list of properties that are supported.

Is this the right solution?
If so what property(ies) do I use to determine if I'm at either end of the history list.
If this won't work, is there some other solution.

-gary kibble
ASKER CERTIFIED SOLUTION
Avatar of Crius
Crius

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gkibble
gkibble

ASKER

Thanks that solved the problem...

void CHtmlViewer::OnCommandStateChange( long nCommand, BOOL bEnable )
{
     if ( nCommand == CSC_NAVIGATEFORWARD )
          m_bForwardEnable = bEnable;
     else if ( nCommand == CSC_NAVIGATEBACK )
          m_bBackEnable = bEnable;
}