User:Ericb/Salframe.hxx

From Apache OpenOffice Wiki
< User:Ericb
Revision as of 09:55, 14 February 2006 by Fleurda (Talk | contribs)

Jump to: navigation, search

Defines types and styles for the frames

Defines marcro for the SalFrameTypes :

#define SAL_FRAME_TOTOP_RESTOREWHENMIN      ((USHORT)0x0001)
#define SAL_FRAME_TOTOP_FOREGROUNDTASK      ((USHORT)0x0002)
#define SAL_FRAME_TOTOP_GRABFOCUS           ((USHORT)0x0004)
#define SAL_FRAME_TOTOP_GRABFOCUS_ONLY		 ((USHORT)0x0008)
#define SAL_FRAME_ENDEXTTEXTINPUT_COMPLETE  ((USHORT)0x0001)
#define SAL_FRAME_ENDEXTTEXTINPUT_CANCEL    ((USHORT)0x0002)


Defines marcro for the SalFrameStyle :

  1. define SAL_FRAME_STYLE_DEFAULT ((ULONG)0x00000001)
  2. define SAL_FRAME_STYLE_MOVEABLE ((ULONG)0x00000002)
  3. define SAL_FRAME_STYLE_SIZEABLE ((ULONG)0x00000004)
  4. define SAL_FRAME_STYLE_CLOSEABLE ((ULONG)0x00000008)
 no shadow effect on WindowsXP
#define SAL_FRAME_STYLE_NOSHADOW            ((ULONG)0x00000010)
 indicate tooltip windows, so they can always be topmost
#define SAL_FRAME_STYLE_TOOLTIP             ((ULONG)0x00000020)
 windows without windowmanager decoration, this typically only applies to floating windows
#define SAL_FRAME_STYLE_OWNERDRAWDECORATION ((ULONG)0x00000040)
 dialogs
#define SAL_FRAME_STYLE_DIALOG              ((ULONG)0x00000080)
 system child window
#define SAL_FRAME_STYLE_CHILD               ((ULONG)0x10000000)
 floating window
#define SAL_FRAME_STYLE_FLOAT               ((ULONG)0x20000000)
 toolwindows should be painted with a smaller decoration
#define SAL_FRAME_STYLE_TOOLWINDOW          ((ULONG)0x40000000)
 the window containing the intro bitmap, aka splashscreen
#define SAL_FRAME_STYLE_INTRO               ((ULONG)0x80000000)
Personal tools