Difference between revisions of "User:Ericb/Salframe.hxx"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 1: Line 1:
 
Defines types and styles for the frames
 
Defines types and styles for the frames
  
Defines marcro for the SalFrameTypes :  
+
Defines macro for the System Abstraction Layer Frame Types :  
  
   SAL_FRAME_TOTOP_RESTOREWHENMIN      ((USHORT)0x0001)
+
   TOTOP_RESTOREWHENMIN->0x0001, TOTOP_FOREGROUNDTASK0->x0002, TOTOP_GRABFOCUS->0x0004, TOTOP_GRABFOCUS_ONLY  ->0x0008, ENDEXTTEXTINPUT_COMPLETE->0x0001, ENDEXTTEXTINPUT_CANCEL->0x0002
  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)
+
Defines marcro for the System Abstraction Layer Frame Style :
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 :  
+
  DEFAULT->0x00000001, MOVEABLE->0x00000002, SIZEABLE->0x00000004, CLOSEABLE->0x00000008
 +
 
 +
  -no shadow effect on WindowsXP: NOSHADOW->0x00000010
 +
  -indicate tooltip windows, so they can always be topmost: TOOLTIP->0x00000020
 +
  -windows without windowmanager decoration, this typically only applies to floating windows: OWNERDRAWDECORATION->0x00000040
 +
  -dialogs: DIALOG->0x00000080
 +
  -system child window: CHILD->0x10000000
 +
  -floating window: FLOAT->0x20000000
 +
  -toolwindows should be painted with a smaller decoration: TOOLWINDOW->0x40000000
 +
  -the window containing the intro bitmap, aka splashscreen: INTRO->0x80000000
  
 
+
Defines macro for the Flags for  System Abstraction Layer Frame Position and Size :
  SAL_FRAME_POSSIZE_Y                ((USHORT)0x0002)
+
 
SAL_FRAME_POSSIZE_WIDTH            ((USHORT)0x0004)
+
  Y->0x0002, WIDTH->0x0004, HEIGHT->0x0008
SAL_FRAME_POSSIZE_HEIGHT            ((USHORT)0x0008)
+

Revision as of 08:40, 16 February 2006

Defines types and styles for the frames

Defines macro for the System Abstraction Layer Frame Types :

 TOTOP_RESTOREWHENMIN->0x0001, TOTOP_FOREGROUNDTASK0->x0002, TOTOP_GRABFOCUS->0x0004, TOTOP_GRABFOCUS_ONLY  ->0x0008, ENDEXTTEXTINPUT_COMPLETE->0x0001, ENDEXTTEXTINPUT_CANCEL->0x0002



Defines marcro for the System Abstraction Layer Frame Style :

 DEFAULT->0x00000001, MOVEABLE->0x00000002, SIZEABLE->0x00000004, CLOSEABLE->0x00000008 
 
 -no shadow effect on WindowsXP: NOSHADOW->0x00000010
 -indicate tooltip windows, so they can always be topmost: TOOLTIP->0x00000020
 -windows without windowmanager decoration, this typically only applies to floating windows: OWNERDRAWDECORATION->0x00000040
 -dialogs: DIALOG->0x00000080
 -system child window: CHILD->0x10000000
 -floating window: FLOAT->0x20000000
 -toolwindows should be painted with a smaller decoration: TOOLWINDOW->0x40000000
 -the window containing the intro bitmap, aka splashscreen: INTRO->0x80000000

Defines macro for the Flags for System Abstraction Layer Frame Position and Size :

Y->0x0002, WIDTH->0x0004, HEIGHT->0x0008
Personal tools