default:
break;
}
-
- if (FORM_STYLE_INDICATOR & pCurrentForm->GetFormStyle())
- {
- pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
- if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle())
- {
- pCurrentForm->SetIndicatorAutoHide(false, true);
- }
- else
- {
- pCurrentForm->SetIndicatorAutoHide(false, false);
- }
- }
- else
- {
- if ((FORM_STYLE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle()) && (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle()))
- {
- pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
- pCurrentForm->SetIndicatorAutoHide(true, true);
- }
- else
- {
- if (FORM_STYLE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle())
- {
- if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT)
- {
- pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
- }
- else
- {
- pCurrentForm->SetIndicatorShowState(false);
- }
- pCurrentForm->SetIndicatorAutoHide(true, false);
- }
- else if(FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle())
- {
- if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT)
- {
- pCurrentForm->SetIndicatorShowState(false);
- }
- else
- {
- pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
- }
- pCurrentForm->SetIndicatorAutoHide(false, true);
- }
- else
- {
- pCurrentForm->SetIndicatorShowState(false);
- pCurrentForm->SetIndicatorAutoHide(false, false);
- }
- }
- }
}
void