◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINFRAMEMGR WM_TRACKFRAME fsTrackFlags = SHORT1FROMMP(mp1); /* tracking flags */ The WM_TRACKFRAME message is sent to start the tracking operation for a frame window. Parameter Description ──────────────────────────────────────────────────────────────────────────── fsTrackFlags Low word of mp1. Specifies tracking flags. This parameter can be one or more of the following flags: Value Meaning ────────────────────────────────────────────────────────────── TF_LEFT Track the left side of the rectangle. TF_TOP Track the top side of the rectangle. TF_RIGHT Track the right side of the rectangle. TF_BOTTOM Track the bottom side of the rectangle. TF_MOVE Track all sides of the rectangle. TF_SETPOINTERPOS Reposition the pointer according to the other options specified. TF_FIXLEFT Vertically center the pointer at the left of the tracking rectangle. TF_FIXTOP Horizontally center the pointer at the top of the tracking rectangle. TF_FIXRIGHT Vertically center the pointer at the right of the tracking rectangle. TF_ALLINBOUNDARY Perform tracking so that no part of the tracking rectangle ever falls outside the bounding rectangle. TF_FIXBOTTOM Horizontally center the pointer at the bottom of the tracking rectangle. TF_GRID Restrict tracking to the grid defined by the cxGrid and cyGrid fields. TF_PARTINBOUNDARY Perform tracking so that all the tracking rectangle never falls outside the bounding rectangle. TF_STANDARD The width, height, grid width and grid height are all multiples of border width and border height. TF_VALIDATETRACKRECT Check the tracking rectangle against size and boundary limits and modify it to fit if necessary. No actual tracking takes place; return after validating. Return Value An application should return TRUE if the tracking operation was successful, or FALSE if it was not. See Also WM_QUERYTRACKINFO ♦