|
-
Apr 1st, 2002, 11:02 AM
#1
Thread Starter
Hyperactive Member
anyone got an idea?
thanks
Amon Ra
The Power of Learning.
-
Apr 1st, 2002, 12:26 PM
#2
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++?
-
Apr 1st, 2002, 01:44 PM
#3
Thread Starter
Hyperactive Member
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..
Amon Ra
The Power of Learning.
-
Apr 1st, 2002, 01:47 PM
#4
Thread Starter
Hyperactive Member
i think it would be nice to just call a function like AttachMsg (MESSAGE) to subclass this message....
Amon Ra
The Power of Learning.
-
Apr 2nd, 2002, 01:49 PM
#5
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Apr 2nd, 2002, 07:37 PM
#6
Thread Starter
Hyperactive Member
hmm..ok CornedBee
Amon Ra
The Power of Learning.
-
Apr 2nd, 2002, 08:38 PM
#7
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.
-
Apr 2nd, 2002, 08:44 PM
#8
Thread Starter
Hyperactive Member
ok ok..that's right...
Amon Ra
The Power of Learning.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|