RE: Combo BoxEx Notification

new topic     » goto parent     » topic index » view thread      » older message » newer message

> --NMCBEENDEDITA
>  --{
> --        NMHDR hdr;
> --        BOOL fChanged;
> --        int iNewSelection;
> --        char szText[CBEMAXSTRLEN];
> --        int iWhy;
> --}

> constant
>     NMHDR_hwndFrom                  = 0,
>     NMHDR_idFrom                    = 4,
>     NMHDR_code                      = 8,
>     NMCB_fChanged                   = 12,-- BOOL so needs only peek/poke
>     NMCB_iNewSelection              = 13,
>     NMCB_szText                     = 17,-- CHAR so needs only peek/poke
>     NMCB_iWhy                       = 18,
> 
> CBEN_FIRST                          = (-800),       
> CBEN_ENDEDIT                        = (CBEN_FIRST - 5),
> CBENF_RETURN                        = 2,

Hiyas Jordah =)

Try this one out.  It should be correct by the definition (if I 
calculated the offsets right).

NMHDR_hwndFrom                  = 0,
NMHDR_idFrom                    = 4,
NMHDR_code                      = 8,
NMCB_fChanged                   = 12, -- I believe BOOL is a synonym for 
DWORD
NMCB_iNewSelection              = 16,
NMCB_szText                     = 20, -- CBEMAXSTRLEN is defined as 260
NMCB_iWhy                       = 280,

... blah blah blah

Don Phillips

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu