Microsoft SDK for Java

DateTimePicker.addOnWmKeyDown

Assigns a delegate to the wmKeyDown event.

Syntax

public final void addOnWmKeyDown( DateTimeWmKeyDownEventHandler value )

Parameters

value

The DateTimeWmKeyDownEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the wmKeyDown event to that method in the Properties window. The wmKeyDown event occurs when the user presses a key in a custom format field.

See Also   removeOnWmKeyDown

© 1999 Microsoft Corporation. All rights reserved. Terms of use.