

Not all clipboard commands are available to the user at any given time. For more information about keyboard accelerators, see Keyboard Accelerators. The TranslateAccelerator function must be added to the application's message loop for the accelerators to take effect. Creating an Edit MenuĪn application should load an accelerator table containing the standard keyboard accelerators for the Edit menu commands. An application should provide a means for the user to select information within a document and some kind of visual feedback to indicate selected data. Selecting Dataīefore information can be copied to the clipboard, the user must select specific information to be copied or cut. The registered format is used to represent rectangular or elliptical text windows, called labels. The example in this section uses these methods to place data on the clipboard using a registered clipboard format, the CF_OWNERDISPLAY format, and the CF_TEXT format.

This section describes how standard Cut, Copy, and Paste commands are implemented in an application. Implementing the Cut, Copy, and Paste Commands
