From: <no...@so...> - 2002-07-17 04:50:17
|
Patches item #577851, was opened at 2002-07-06 05:00 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=577851&group_id=2435 Category: w32api Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Mattia Barbon (mbarbon) Assigned to: Nobody/Anonymous (nobody) Summary: Notification messages should be UINT Initial Comment: commctrl.h: #define TTN_FIRST (-520) and similarly many other notification messages are defined as negative numbers; since they are stored in the "UINT code" memeber of struct NMHDR, I think they all should be ((UINT)-520) I think PSDK defines them like this (tested with MSVC5, UINT x = -1; warns, UINT x = TTN_SHOW; does not). Regards Mattia ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2002-07-17 16:50 Message: Logged In: YES user_id=11494 Thanks Checked into winsup CVS (with ChangeLog) 2002-07-17 Danny Smith <dan...@us...> * include/commdlg.h: Define CDN_* notification message constants as UINT. 2002-07-17 Mattia Barbon <mb...@us...> * include/commctrl.h: Define notification message constants for NMHDR.code as UINT. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=302435&aid=577851&group_id=2435 |