Solved

about the "picture" in a control

Posted on 1998-07-07
3
190 Views
Last Modified: 2010-05-03
In VB5CCE, the trial version.
When open the property page of a ListView there is a "picture" tab (I also found it in other controls). Can you tell me what is it for and how to use it. (No help for it in the version)
0
Comment
Question by:learn
3 Comments
 

Author Comment

by:learn
ID: 1465146
Edited text of question
0
 

Accepted Solution

by:
willmrk earned 50 total points
ID: 1465147
When you click on the Picture Tab, MouseIcon is probably your only settable property (in the listbox on the left of the tab). If you select browse and find a icon file for example, the icon will show in the box on the left (named Preview). If you then go back to the properties list for the ListView control and set the MousePointer property to 99-ccCustom then when your code runs whenever the mouse passes directly over the ListView the mouse pointer will change to the Icon you specified under the Picture Tab.
So basically it is another a way to specify a different mouse pointer when the pointer passes over that object. The same thing can be accomplished by setting the MouseIcon properties and MousePointer properties in the properties list.
0
 
LVL 39

Expert Comment

by:abel
ID: 1465148
I hit "answer" a few seconds after you, willmrk. I'll post it as a comment...(but it's quite the same as yours):

The picture tab of the ListView control can only be used to set an ICO-file as mousecursor. It's the same as setting a mousecursor for a form and the like.
Don't worry about the Help-button. In the official release you will see it disabled on the picture-tab as well. You should use the (standard) help of VB for info about setting a picture for the mousecursor.

Hope this helps you out.

Regards, Abel
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

825 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