home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / SAMPLES / DIBVIEW / CLIPBRD.H_ / CLIPBRD.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  683 b   |  20 lines

  1.  
  2. #ifndef CLIPBRD_INCLUDED
  3. #define CLIPBRD_INCLUDED
  4.  
  5. /* Macros to display/remove hourglass cursor for lengthy operations */
  6. #define StartWait() hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT))
  7. #define EndWait()   SetCursor(hcurSave)
  8.  
  9. HANDLE     CopyHandle           (HANDLE h);
  10. HBITMAP    CopyBitmap           (HBITMAP hbm);
  11. HBITMAP    CropBitmap           (HBITMAP hbm, HPALETTE hPal, LPRECT lpRect, LPPOINT lpptSize);
  12. HANDLE     RenderFormat         (HWND hWndClip, int cf, POINT ptDIBSize);
  13. HANDLE     RealizeDibFormat     (DWORD biStyle, WORD biBits);
  14. void       HandleCopyClipboard  (void);
  15. void       HandlePasteClipboard (void);
  16.  
  17.  
  18. #endif // CLIPBRD_INCLUDED
  19.  
  20.