WindowsXP-SP1/admin/activec/conui/webctrl.inl

39 lines
1.2 KiB
Plaintext
Raw Normal View History

2001-01-01 00:00:00 +01:00
/*--------------------------------------------------------------------------*
*
* Microsoft Windows
* Copyright (C) Microsoft Corporation, 1992 - 000
*
* File: webctrl.inl
*
* Contents: Inline functions for CAMCWebViewCtrl
*
* History: 15-Feb-2000 jeffro Created
*
*--------------------------------------------------------------------------*/
#pragma once
/*+-------------------------------------------------------------------------*
* CAMCWebViewCtrl::IsHistoryEnabled
*
* Returns true if the window has the WS_HISTORY style, false otherwise.
*--------------------------------------------------------------------------*/
inline bool CAMCWebViewCtrl::IsHistoryEnabled () const
{
return ((GetStyle() & WS_HISTORY) != 0);
}
/*+-------------------------------------------------------------------------*
* CAMCWebViewCtrl::IsSinkEventsEnabled
*
* Returns true if the window has the WS_SINKEVENTS style, false otherwise.
*--------------------------------------------------------------------------*/
inline bool CAMCWebViewCtrl::IsSinkEventsEnabled () const
{
return ((GetStyle() & WS_SINKEVENTS) != 0);
}