User:Ericb/Salframe.hxx

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

Jump to: navigation, search

Defines types and styles for the frames

Defines marcro for the SalFrameTypes :

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


Defines marcro for the SalFrameStyle :

SAL_FRAME_STYLE_DEFAULT             ((ULONG)0x00000001)
SAL_FRAME_STYLE_MOVEABLE            ((ULONG)0x00000002)
SAL_FRAME_STYLE_SIZEABLE            ((ULONG)0x00000004)
SAL_FRAME_STYLE_CLOSEABLE           ((ULONG)0x00000008)

 no shadow effect on WindowsXP
 SAL_FRAME_STYLE_NOSHADOW            ((ULONG)0x00000010)
 indicate tooltip windows, so they can always be topmost
 SAL_FRAME_STYLE_TOOLTIP             ((ULONG)0x00000020)
 windows without windowmanager decoration, this typically only applies to floating windows
 SAL_FRAME_STYLE_OWNERDRAWDECORATION ((ULONG)0x00000040)
 dialogs
 SAL_FRAME_STYLE_DIALOG              ((ULONG)0x00000080)
 system child window
 SAL_FRAME_STYLE_CHILD               ((ULONG)0x10000000)
 floating window
 SAL_FRAME_STYLE_FLOAT               ((ULONG)0x20000000)
 toolwindows should be painted with a smaller decoration
 SAL_FRAME_STYLE_TOOLWINDOW          ((ULONG)0x40000000)
 the window containing the intro bitmap, aka splashscreen
 SAL_FRAME_STYLE_INTRO               ((ULONG)0x80000000)

Defines macro for the Flags for SetPosSize :


SAL_FRAME_POSSIZE_Y                 ((USHORT)0x0002)
SAL_FRAME_POSSIZE_WIDTH             ((USHORT)0x0004)
SAL_FRAME_POSSIZE_HEIGHT            ((USHORT)0x0008)
Personal tools