Missing TRBN_THUMPOSCHANGING and NMTBRTHUMBPOSCHANGING

Started by xandaz, June 26, 2010, 11:26:00 AM

Previous topic - Next topic

xandaz

 Does anyone know of an updated windows.inc with this message and STRUCT?
Ty guys and byez

jj2007

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.

xandaz

   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.

MichaelW

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.
eschew obfuscation

Ramon Sala

These are the definitions according to the WINDDK:

#define TRBN_THUMBPOSCHANGING       (TRBN_FIRST-1)

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

Greetings from Catalonia

MichaelW

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.

eschew obfuscation

jj2007

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

Ramon Sala

Greetings from Catalonia

ToutEnMasm

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