Re: EuCom - Matt Lewis
- Posted by Jonas Temple <jtemple at yhti.net> Jul 19, 2004
- 628 views
Matt Lewis wrote: > First thing I see is that SetListOcx is a method, not a property, so you > should be using DISPATCH_METHOD. Tbrowse differentiates between the two > by either adding _p_ or _m_ between the object and the member names. D-uh!!!! Yep, didn't even think about that. I stared at this code for a long time...probably too long. > It's saying that your type is wrong (or maybe it's just the method/property > thing). My guess is that it should be either VT_UNKNOWN or VT_PTR. You > can look in variant.ew for all different VT_ constants. > Well, I tried VT_UNKNOWN and VT_PTR but it didn't like those, so I went back to VT_I4 and it worked! Now the only problem I'm having is the tree and list controls are in the same location in the window (regardless of what I specified in create_com_control). Any idea what might be going on there? Thanks for all the help, Matt. Jonas