We help IT Professionals succeed at work.

CommandButton/VbControlextender

BlaZer
BlaZer asked
on
Can anybody show me a working example of how to capture all events in a commandbutton?
i would prefer the
_ObjectEvent(Info As EventInfo)
as used in the vbcontrolextender, but anything will do as long as i get all the events without having to click them all visible.......
Comment
Watch Question

Network Technician  & Programmer
Commented:
BlaZer,

You asking to do: is subclass the command button with VB code.
Some references:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbdev99/html/VB99G15.asp
http://www.vb2themax.com/HtmlDoc.asp?Table=Articles&ID=20

You hunt more if you like.

Enjoy your work,  P1

Author

Commented:
that wont do...i wanna get the real messages..not the constans..........
P1Network Technician  & Programmer

Commented:
BlaZer,

In the Message Pump Design of ANY Windows system, constants are the messages.  Because a computer can process a number quicker that any other data type.  Header files,  provide a way to translate a variable name into a constant for programming convenience.

I suggest you re-post.  But I know your going to get a similar answer again.

Any General Windows programming book will explain the Message Pump for you.

Enjoy your work,  P1

Author

Commented:
i know all about that..but if u looked at the control extender u would know what i mean......
P1Network Technician  & Programmer

Commented:
BlaZer,

Can you give me a URL to reference.
"control extender" gave me hits on IR remote control extenders.

Thanks,  P1

Explore More ContentExplore courses, solutions, and other research materials related to this topic.