Click to return to the Reusing Browser Technology home page    
onbeforeeditfocus Event     onbeforeupdate Event     MSHTML Element Events2    
Web Workshop  |  Reusing Browser Technology

onbeforepaste Event


Fires on the target object before the selection is pasted from the system clipboard to the document.

Syntax

VARIANT_BOOL onbeforepaste(
    IHTMLEventObj *pEvtObj
);

Parameters

pEvtObj
[in] Address of an IHTMLEventObj interface variable.

Return Value

Return VARIANT_TRUE if bubbling should be canceled, or VARIANT_FALSE to continue bubbling up the event chain.

Remarks

For more information, see onbeforepaste in the Dynamic HTML (DHTML) reference page.

This event is available in Microsoft® Internet Explorer 5 and later.

Applies To

Anchor, Area, Button, Document, Element, Form, Image, InputFile, InputImage, InputText, Link, Label, Map, Marquee, Object, OptionButton, Script, Select, Style, Table, TextContainer, Window2


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

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