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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 3: Line 3:
 
Defines marcro for the SalFrameTypes :  
 
Defines marcro for the SalFrameTypes :  
  
#define SAL_FRAME_TOTOP_RESTOREWHENMIN      ((USHORT)0x0001)
+
  SAL_FRAME_TOTOP_RESTOREWHENMIN      ((USHORT)0x0001)
#define SAL_FRAME_TOTOP_FOREGROUNDTASK      ((USHORT)0x0002)
+
  SAL_FRAME_TOTOP_FOREGROUNDTASK      ((USHORT)0x0002)
#define SAL_FRAME_TOTOP_GRABFOCUS          ((USHORT)0x0004)
+
  SAL_FRAME_TOTOP_GRABFOCUS          ((USHORT)0x0004)
#define SAL_FRAME_TOTOP_GRABFOCUS_ONLY     ((USHORT)0x0008)
+
  SAL_FRAME_TOTOP_GRABFOCUS_ONLY     ((USHORT)0x0008)
#define SAL_FRAME_ENDEXTTEXTINPUT_COMPLETE  ((USHORT)0x0001)
+
  SAL_FRAME_ENDEXTTEXTINPUT_COMPLETE  ((USHORT)0x0001)
#define SAL_FRAME_ENDEXTTEXTINPUT_CANCEL    ((USHORT)0x0002)
+
  SAL_FRAME_ENDEXTTEXTINPUT_CANCEL    ((USHORT)0x0002)
  
  
Line 14: Line 14:
 
Defines marcro for the SalFrameStyle :  
 
Defines marcro for the SalFrameStyle :  
  
  #define SAL_FRAME_STYLE_DEFAULT            ((ULONG)0x00000001)
+
  SAL_FRAME_STYLE_DEFAULT            ((ULONG)0x00000001)
  #define SAL_FRAME_STYLE_MOVEABLE            ((ULONG)0x00000002)
+
  SAL_FRAME_STYLE_MOVEABLE            ((ULONG)0x00000002)
  #define SAL_FRAME_STYLE_SIZEABLE            ((ULONG)0x00000004)
+
  SAL_FRAME_STYLE_SIZEABLE            ((ULONG)0x00000004)
  #define SAL_FRAME_STYLE_CLOSEABLE          ((ULONG)0x00000008)
+
  SAL_FRAME_STYLE_CLOSEABLE          ((ULONG)0x00000008)
 
   
 
   
 
   no shadow effect on WindowsXP
 
   no shadow effect on WindowsXP
#define SAL_FRAME_STYLE_NOSHADOW            ((ULONG)0x00000010)
+
  SAL_FRAME_STYLE_NOSHADOW            ((ULONG)0x00000010)
 
   indicate tooltip windows, so they can always be topmost
 
   indicate tooltip windows, so they can always be topmost
#define SAL_FRAME_STYLE_TOOLTIP            ((ULONG)0x00000020)
+
  SAL_FRAME_STYLE_TOOLTIP            ((ULONG)0x00000020)
 
   windows without windowmanager decoration, this typically only applies to floating windows
 
   windows without windowmanager decoration, this typically only applies to floating windows
#define SAL_FRAME_STYLE_OWNERDRAWDECORATION ((ULONG)0x00000040)
+
  SAL_FRAME_STYLE_OWNERDRAWDECORATION ((ULONG)0x00000040)
 
   dialogs
 
   dialogs
#define SAL_FRAME_STYLE_DIALOG              ((ULONG)0x00000080)
+
  SAL_FRAME_STYLE_DIALOG              ((ULONG)0x00000080)
 
   system child window
 
   system child window
#define SAL_FRAME_STYLE_CHILD              ((ULONG)0x10000000)
+
  SAL_FRAME_STYLE_CHILD              ((ULONG)0x10000000)
 
   floating window
 
   floating window
#define SAL_FRAME_STYLE_FLOAT              ((ULONG)0x20000000)
+
  SAL_FRAME_STYLE_FLOAT              ((ULONG)0x20000000)
 
   toolwindows should be painted with a smaller decoration
 
   toolwindows should be painted with a smaller decoration
#define SAL_FRAME_STYLE_TOOLWINDOW          ((ULONG)0x40000000)
+
  SAL_FRAME_STYLE_TOOLWINDOW          ((ULONG)0x40000000)
 
   the window containing the intro bitmap, aka splashscreen
 
   the window containing the intro bitmap, aka splashscreen
#define SAL_FRAME_STYLE_INTRO              ((ULONG)0x80000000)
+
  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)

Revision as of 10:10, 14 February 2006

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