Solved

About creating ActiveX control through subclassing

Posted on 2000-03-12
1
241 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 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