Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
916 B

  1. #ifndef BUILD_FRAME_H
  2. #define BUILD_FRAME_H
  3. #define VIEW_MODE_NORMAL 0
  4. #define VIEW_MODE_RESTORE 1
  5. #define VIEW_MODE_SMALL 2
  6. #define VIEW_MODE_NOBAR 3
  7. HANDLE BuildFrameBitmap(HDC hDC, //dc to be compatible with
  8. LPRECT pMainRect, //overall window size
  9. LPRECT pViewRect, //rect of black viewport window,
  10. //where gradient should begin,
  11. //with 0,0 as top left of main
  12. int nViewMode, //if in normal, restore, small
  13. LPPOINT pSysMenuPt, //point where sys menu icon is placed
  14. LPRECT pSepRects, //array of rects for separator bars
  15. int nNumSeps, //number of separtors in array
  16. BITMAP* pBM); //bitmap info
  17. #endif //BUILD_FRAME_H