HOMEPAGE

Development Sites - Information for Software-Developers

Developer Platform
The first instructions
Installations
System param. structures
connect to MeteoCom
simple screen drawing
own data drawing
Picture service
File Management
EmailBulletin Service

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)

void CMeteoView::OnCopyText()
{
   BeginWaitCursor();
   DecodeMPfromClipBoard(m_hWnd);
   EndWaitCursor();
}

See Also  DecodeMPfromFile

 

   Copyright 2006 © Bonito Germany.   
www.bonito.net