146 void SetOwner(
SWindow *pOwner);
155 BOOL IsTabTraversalKey(UINT vKey);
164 BOOL OnKeyDown(UINT vKey);
172 void AdvanceFocus(
bool reverse);
181 void SetFocusedHwndWithReason(SWND swnd, FocusChangeReason reason);
189 void SetFocusedHwnd(SWND swnd);
204 SWND GetFocusedHwnd()
const;
211 void StoreFocusedView();
218 void RestoreFocusedView();
230 STDMETHOD_(
void, RegisterAccelerator)
240 STDMETHOD_(
void, UnregisterAccelerator)
270 SWindow *GetNextFocusableView(
SWindow *pWndStarting,
bool bReverse,
bool bLoop);
277 void ValidateFocusedView();
281 SWND focused_backup_;
282 FocusChangeReason focus_change_reason_;
285 typedef SList<IAcceleratorTarget *> AcceleratorTargetList;
286 typedef SMap<DWORD, AcceleratorTargetList> AcceleratorMap;
287 AcceleratorMap accelerators_;