How to make a clipboard to be pasted with "top and bottom" wrapping?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • firecomp
    New Member
    • Jan 2010
    • 1

    How to make a clipboard to be pasted with "top and bottom" wrapping?

    void ClipboardSave(H WND hwnd)
    {
    static GLOBALHANDLE hGMemGraph;
    LPMETAFILEPICT lpMfp;

    hGMemGraph = GlobalAlloc(GHN D,(DWORD)sizeof (METAFILEPICT)) ;
    if (!hGMemGraph)
    {
    OutOfMemory();
    return;
    }
    lpMfp = (LPMETAFILEPICT )GlobalLock(hGM emGraph);
    if (!lpMfp)
    {
    OutOfMemory();
    GlobalFree(hGMe mGraph);
    return;
    }
    etc
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Maybe us a circular linked list?

    Comment

    Working...