MeteoTools::DecodeMPfromClipBoard
void DecodeMPfromClipBoard(HWND hwnd);
Parameters
hwnd
A handle
to the window.
Remarks
DecodeMPfromClipBoard
converts a text from the clipboard to a Meteo
Server Data file.
The text must be compatible to a
MeteoPack.
Example
// set your accellerator in the
resource view for CTRL+V and SHIFT+INSERT
/*
ACCELERATORS MOVEABLE PURE
BEGIN
VK_INSERT, IDC_COPY, VIRTKEY, SHIFT, NOINVERT
"V", IDC_COPY2, VIRTKEY, CONTROL, NOINVERT
END
*/
ON_COMMAND(IDC_COPY,
OnCopyText)
ON_COMMAND(IDC_COPY2, OnCopyText)