Jump to content

WM TRACKFRAME

From EDM2
Revision as of 04:27, 18 April 2025 by Martini (talk | contribs) (Created page with "This message is sent to a window whenever it is to be moved or sized. ;in Frame Controls This message is sent to a frame window whenever it is to be moved or sized. ==Syntax== <pre> param1 USHORT fsTrackFlags; Tracking flags.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ===in Frame Controls=== <pre> param1 USHORT fsTrackFlags Tracking flags.: param2 ULONG ulReserved Reserved value, should be 0.: </pre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent to a window whenever it is to be moved or sized.

in Frame Controls

This message is sent to a frame window whenever it is to be moved or sized.

Syntax

param1
    USHORT fsTrackFlags; /* Tracking flags. */

param2
    ULONG  ulReserved;  /* Reserved value, should be 0. */

in Frame Controls

param1
     USHORT  fsTrackFlags  /*  Tracking flags. */

param2
     ULONG   ulReserved    /*  Reserved value, should be 0. */

Parameters

fsTrackFlags (USHORT) - input
Tracking flags. Contains a combination of one or more TF_* flags; for details, see the TRACKINFO data structure description.
ulReserved (ULONG) - input
Reserved value, should be 0.


in Frame Controls

fsTrackFlags (USHORT) - input
Tracking flags.
Contains a combination of one or more TF_* flags; for details, see the TRACKINFO data structure.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

rc (BOOL) - returns
Success indicator
TRUE: The operation is successful.
FALSE: The operation is unsuccessful, or the operation is terminated.


Remarks

Respond to this message by causing a tracking rectangle to be drawn to move or size the window. For information, see WinTrackRect.

in Frame Controls

The frame control window procedure responds to this message by causing a tracking rectangle to be drawn to move or size the window. For information, see the WinTrackRect function.

in Title Bar Controls

The title bar control window procedure generates this message and sends it to its owner, informing the owner that a mouse button down message has been received.

Default Processing

None.

in Frame Controls

The default window procedure takes no action on this message, other than to set rc to TRUE.

in Title Bar Controls

The default window procedure takes no action on this message, other than to set rc to FALSE.

Related Messages

  • WM_TRACKFRAME (in Frame Controls)
  • WM_TRACKFRAME (in Title Bar Controls)