Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
void CGroupBox::EnableContainingControls( bool bEnable )
{
HWND hwndParent = GetParent();
if ( hwndParent == NULL )
{
return;
}
RECT rcClient;
GetWindowRect( &rcClient );
HWND hwndTemp = ::GetWindow( hwndParent, GW_CHILD );
while ( hwndTemp )
{
RECT rcChild;
::GetWindowRect( hwndTemp, &rcChild );
if ( ( rcChild.left >= rcClient.left )
&& ( rcChild.top >= rcClient.top )
&& ( rcChild.right <= rcClient.right )
&& ( rcChild.bottom <= rcClient.bottom )
&& ( hwndTemp != m_hWnd ) )
{
::EnableWindow( hwndTemp, bEnable );
}
hwndTemp = ::GetNextWindow( hwndTemp, GW_HWNDNEXT );
}
}