Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.4 KB

onfocus.md

File metadata and controls

57 lines (33 loc) · 1.4 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location ms.custom
onfocus
The onfocus event handler handles an event that occurs when the element receives the keyboard focus.
02162494-cd80-4854-b75c-35b5e9891b0b
onfocus Windows Media Player
apiref
onfocus
NA
reference
4/26/2023
UpdateFrequency5

onfocus

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The onfocus event handler handles an event that occurs when the element receives the keyboard focus.

onfocus

Remarks

The onfocus event handler is not applicable to the EFFECTS element or the POPUP element.

Requirements

Requirement Value
Version
Windows Media Player version 70 or later

See also

Ambient Event Handlers