Jump to content

SWP: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Created page with "Set-window-position structure. <pre> typedef struct _SWP { ULONG fl; Options.: LONG cy; Window height.: LONG cx;..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Set-window-position structure.
Set-window-position structure.


<pre>
typedef struct _SWP {
typedef struct _SWP {
  ULONG    fl;                /*  Options. */
  ULONG    fl;                /*  Options. */
  LONG      cy;                /*  Window height. */
  LONG      cy;                /*  Window height. */
  LONG      cx;                /*  Window width. */
  LONG      cx;                /*  Window width. */
  LONG      y;                /*  Y-coordinate of origin. */
  LONG      y;                /*  Y-coordinate of origin. */
  LONG      x;                /*  X-coordinate of origin. */
  LONG      x;                /*  X-coordinate of origin. */
  [[HWND]]      hwndInsertBehind;  /*  Window behind which this window is placed. */
  [[HWND]]      hwndInsertBehind;  /*  Window behind which this window is placed. */
  HWND      hwnd;              /*  Window handle. */
  HWND      hwnd;              /*  Window handle. */
  ULONG    ulReserved1;      /*  Reserved value; must be 0. */
  ULONG    ulReserved1;      /*  Reserved value; must be 0. */
  ULONG    ulReserved2;      /*  Reserved value; must be 0. */
  ULONG    ulReserved2;      /*  Reserved value; must be 0. */
} SWP;
} SWP;
 
typedef SWP *PSWP;
typedef SWP *PSWP;
</pre>


[[Category:PM Data type]]
[[Category:PM Data type]]

Latest revision as of 05:58, 21 February 2020

Set-window-position structure.

typedef struct _SWP {
  ULONG     fl;                /*  Options. */
  LONG      cy;                /*  Window height. */
  LONG      cx;                /*  Window width. */
  LONG      y;                 /*  Y-coordinate of origin. */
  LONG      x;                 /*  X-coordinate of origin. */
  HWND      hwndInsertBehind;  /*  Window behind which this window is placed. */
  HWND      hwnd;              /*  Window handle. */
  ULONG     ulReserved1;       /*  Reserved value; must be 0. */
  ULONG     ulReserved2;       /*  Reserved value; must be 0. */
} SWP;

typedef SWP *PSWP;