Commit f8514f5b authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Fix notification from header, on item changed.

Small indentation fixes.
parent 6c320a84
...@@ -60,23 +60,23 @@ typedef struct ...@@ -60,23 +60,23 @@ typedef struct
typedef struct typedef struct
{ {
HWND hwndNotify; /* Owner window to send notifications to */ HWND hwndNotify; /* Owner window to send notifications to */
INT nNotifyFormat; /* format used for WM_NOTIFY messages */ INT nNotifyFormat; /* format used for WM_NOTIFY messages */
UINT uNumItem; /* number of items (columns) */ UINT uNumItem; /* number of items (columns) */
INT nHeight; /* height of the header (pixels) */ INT nHeight; /* height of the header (pixels) */
HFONT hFont; /* handle to the current font */ HFONT hFont; /* handle to the current font */
HCURSOR hcurArrow; /* handle to the arrow cursor */ HCURSOR hcurArrow; /* handle to the arrow cursor */
HCURSOR hcurDivider; /* handle to a cursor (used over dividers) <-|-> */ HCURSOR hcurDivider; /* handle to a cursor (used over dividers) <-|-> */
HCURSOR hcurDivopen; /* handle to a cursor (used over dividers) <-||-> */ HCURSOR hcurDivopen; /* handle to a cursor (used over dividers) <-||-> */
BOOL bCaptured; /* Is the mouse captured? */ BOOL bCaptured; /* Is the mouse captured? */
BOOL bPressed; /* Is a header item pressed (down)? */ BOOL bPressed; /* Is a header item pressed (down)? */
BOOL bTracking; /* Is in tracking mode? */ BOOL bTracking; /* Is in tracking mode? */
BOOL bUnicode; /* Unicode flag */ BOOL bUnicode; /* Unicode flag */
INT iMoveItem; /* index of tracked item. (Tracking mode) */ INT iMoveItem; /* index of tracked item. (Tracking mode) */
INT xTrackOffset; /* distance between the right side of the tracked item and the cursor */ INT xTrackOffset; /* distance between the right side of the tracked item and the cursor */
INT xOldTrack; /* track offset (see above) after the last WM_MOUSEMOVE */ INT xOldTrack; /* track offset (see above) after the last WM_MOUSEMOVE */
INT nOldWidth; /* width of a sizing item after the last WM_MOUSEMOVE */ INT nOldWidth; /* width of a sizing item after the last WM_MOUSEMOVE */
INT iHotItem; /* index of hot item (cursor is over this item) */ INT iHotItem; /* index of hot item (cursor is over this item) */
HIMAGELIST himl; /* handle to a image list (may be 0) */ HIMAGELIST himl; /* handle to a image list (may be 0) */
HEADER_ITEM *items; /* pointer to array of HEADER_ITEM's */ HEADER_ITEM *items; /* pointer to array of HEADER_ITEM's */
...@@ -1205,7 +1205,7 @@ HEADER_SetItemW (HWND hwnd, WPARAM wParam, LPARAM lParam) ...@@ -1205,7 +1205,7 @@ HEADER_SetItemW (HWND hwnd, WPARAM wParam, LPARAM lParam)
else else
lpItem->iOrder = nItem; lpItem->iOrder = nItem;
HEADER_SendHeaderNotify(hwnd, HDN_ITEMCHANGINGW, nItem, phdi->mask); HEADER_SendHeaderNotify(hwnd, HDN_ITEMCHANGEDW, nItem, phdi->mask);
HEADER_SetItemBounds (hwnd); HEADER_SetItemBounds (hwnd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment