Solved

About creating ActiveX control through subclassing

Posted on 2000-03-12
1
242 Views
Last Modified: 2013-11-20
When creating activeX control through subclassing, how to generate keypress/keydown/keyup events and make them known to application in vb? And how to subclass a non-common control?
0
Comment
Question by:ycl
1 Comment
 
LVL 1

Accepted Solution

by:
kkarunakar earned 50 total points
ID: 2694750
Hi there,
I am giving u some help. hope it will work.
Adding keypress/keydown/keyup..events.
Open class wizard.Select ctrl class and map the specified function..Write u r own code in the events.
How to make it visible this to VB.
Just add method to the interface by selecting it and right clicking..
Say OnKeyDown() is method u have added .
now call u r event handler function in this method in ctrl class.
For subclassing u have to write ur own class and write it in the paint..or create in control class in same rect.
Regards keshav
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 108
sum28 challenge 31 115
only14 challenge 19 81
Work with App store 7 67
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question