RE: Combo BoxEx Notification
- Posted by Don Phillips <Graebel at hotmail.com> Jul 30, 2002
- 421 views
> --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