Solved

User pointer in GUI controls

Posted on 2000-02-13
1
139 Views
Last Modified: 2010-05-02
Do GUI controls in VB have a spare pointer/property that the programmer can use to point to his own object?

In Delphi, there is - and its called a 'tag' property.

It would typically be available for each GUI control.  If so, is this property also available under Visual C++?
0
Comment
Question by:abulka
1 Comment
 
LVL 3

Accepted Solution

by:
Gordonp earned 50 total points
ID: 2517962
All Controls in VB have a Tag property, however for a lot of controls this just holds a text string.

The Tag property for the MS Common Controls with VB6 holds a Variant type so you can assign an object.

As for C++ you'd have to ask the C++ guys.

Gordon
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

948 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now