winpos.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * *DeferWindowPos() structure and definitions
  3. *
  4. * Copyright 1994 Alexandre Julliard
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. */
  20. #ifndef __WINE_WINPOS_H
  21. #define __WINE_WINPOS_H
  22. #include <stdarg.h>
  23. #include <windef.h>
  24. #include <winbase.h>
  25. #include <wingdi.h>
  26. #include <winuser.h>
  27. /* undocumented SWP flags - from SDK 3.1 */
  28. #define SWP_NOCLIENTSIZE 0x0800
  29. #define SWP_NOCLIENTMOVE 0x1000
  30. /* Wine extra SWP flag */
  31. #define SWP_WINE_NOHOSTMOVE 0x80000000
  32. extern BOOL WINPOS_RedrawIconTitle( HWND hWnd );
  33. extern BOOL WINPOS_ShowIconTitle( HWND hwnd, BOOL bShow );
  34. extern void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos, POINT *minTrack,
  35. POINT *maxTrack );
  36. extern LONG WINPOS_HandleWindowPosChanging(HWND hwnd, WINDOWPOS *winpos);
  37. extern HWND WINPOS_WindowFromPoint( HWND hwndScope, POINT pt, INT *hittest );
  38. extern void WINPOS_CheckInternalPos( HWND hwnd );
  39. extern void WINPOS_ActivateOtherWindow( HWND hwnd );
  40. extern BOOL WINPOS_CreateInternalPosAtom(void);
  41. #endif /* __WINE_WINPOS_H */