The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => WINDOWS.INC Project => Topic started by: xandaz on June 26, 2010, 11:26:00 AM

Title: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: xandaz on June 26, 2010, 11:26:00 AM
 Does anyone know of an updated windows.inc with this message and STRUCT?
Ty guys and byez
Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: jj2007 on June 26, 2010, 11:45:04 AM
http://www.openwatcom.org:4000/@md=d&cd=//&cdf=//depot/ow_devel/zdos/w32api/include/commctrl.mh&ra=s&c=Fm2@//depot/ow_devel/zdos/w32api/include/commctrl.mh?ac=64&rev1=2

Translating them to Masm syntax is straightforward.
Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: xandaz on June 26, 2010, 12:12:49 PM
   It seems like TRBN_THUMBPOSCHANGING has the same value as NM_CUSTOMDRAW ( NM_FIRST-12 ). Whould this be correct? Someone who knows should post something about this. Ty and byes.
Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: MichaelW on June 26, 2010, 09:05:25 PM
TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING are not included in the header files for my 2003 PSDK, and my MSDN searches found no matches, so these are unlikely to be Microsoft-defined constants.
Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: Ramon Sala on June 26, 2010, 10:21:37 PM
These are the definitions according to the WINDDK:

#define TRBN_THUMBPOSCHANGING       (TRBN_FIRST-1)

typedef struct tagTRBTHUMBPOSCHANGING
{
    NMHDR hdr;
    DWORD dwPos;
    int nReason;
} NMTRBTHUMBPOSCHANGING;

Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: MichaelW on June 26, 2010, 11:15:19 PM
Quote from: Ramon Sala on June 26, 2010, 10:21:37 PM
These are the definitions according to the WINDDK

Oops, I didn't consider that. How recent is this DDK? TRBN_THUMBPOSCHANGING is not included in the one I have installed from 2005.

Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: jj2007 on June 26, 2010, 11:17:08 PM
Quote from: Ramon Sala on June 26, 2010, 10:21:37 PM
These are the definitions according to the WINDDK:

#define TRBN_THUMBPOSCHANGING       (TRBN_FIRST-1)

typedef struct tagTRBTHUMBPOSCHANGING
{
    NMHDR hdr;
    DWORD dwPos;
    int nReason;
} NMTRBTHUMBPOSCHANGING;


Same as in the OpenWatCom link quoted above:
#define TRBN_THUMBPOSCHANGING   (TRBN_FIRST - 1)
...
#if (_WIN32_WINNT >= 0x0600)
typedef struct tagTRBTHUMBPOSCHANGING {
   NMHDR   hdr;
   DWORD   dwPos;
   int     nReason;
} NMTRBTHUMBPOSCHANGING;
#endif
Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: Ramon Sala on June 27, 2010, 11:33:34 AM
Hi MichaelW,

It is the last WINDDK for Windows 7.
Title: Re: Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING
Post by: ToutEnMasm on September 10, 2010, 07:24:13 AM
Hello,
A little search on google give TRBN_THUMBPOSCHANGING part of commctrl.h of the sdk.
The SDK  is translate and dowloadable on my site.
http://luce.yves.pagesperso-orange.fr/sdkrc7.cab
Report to http://www.masm32.com/board/index.php?topic=11531.0 for informations.
ToutEnMasm