anyone got an idea?
thanks
Printable View
anyone got an idea?
thanks
the this object pointer.
It looks like you are trying to use the vbAccelerator subclassing dll.
You do know that you can directly access the WndProc for each control and item in C++?
yea i do know, i just thought it would be easier to have a dll keep track of the things that i subclassed, rather than having a Get/SetWindowLong all over... i just liked the idea of having everything in a nice class.. :)
i think it would be nice to just call a function like AttachMsg (MESSAGE) to subclass this message....
It's probably an automation dll so there's no speaking of "nice" in C++. Automation is damn hard to use in C++, and slow too.
hmm..ok CornedBee :)
FWIW - your assumptions are bad - you do not have to explicitly use GetWindowLong, and so on.
If you create a WindProc for the window, it will 'automatically' subclass the window - this is the great thing about C++ coding - you make your own windows and their wndprocs, too.
ok ok..that's right... :)