Share via

Taking the Selection Focus


A Windows Classic Home screen plug-in can also request the selection focus, such as in response to a user tap. To do so, the plug-in must send a TODAYM_TOOKSELECTION message to its parent window.

TODAYM_TOOKSELECTION is defined as (WM_USER + 102). The wParam is the handle to the plug-in window. The parameter lParam is not used and can be set to zero.

   PostMessage(GetParent(hwndPlugin), TODAYM_TOOKSELECTION, (WPARAM)hwndPlugin, 0);

See Also

Other Resources

Windows Classic Home Screen Plug-in Selection