Click here to Skip to main content
15,894,630 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDialing a number Pin
THEMYTH13-Apr-03 8:38
THEMYTH13-Apr-03 8:38 
GeneralProblem on moving objects at design time Pin
THEMYTH12-Apr-03 12:32
THEMYTH12-Apr-03 12:32 
GeneralRe: Problem on moving objects at design time Pin
Wayne Phipps12-Apr-03 21:15
Wayne Phipps12-Apr-03 21:15 
GeneralRe: Problem on moving objects at design time Pin
THEMYTH13-Apr-03 2:59
THEMYTH13-Apr-03 2:59 
GeneralLength of a MenuItem in pixels Pin
gvborre11-Apr-03 4:20
gvborre11-Apr-03 4:20 
GeneralHiding columns in ListView Pin
Subha_n510-Apr-03 23:30
Subha_n510-Apr-03 23:30 
GeneralRe: Hiding columns in ListView Pin
Villly11-Apr-03 3:46
Villly11-Apr-03 3:46 
GeneralAdding icons to menus in VB.NET Pin
gvborre10-Apr-03 19:41
gvborre10-Apr-03 19:41 
Retana Padilla has wrote a fine tool.
But...

(Excuse me, but my Englisch is not so good...)

I 'll try to use this code...
And make it better and better...
So I have set the EvMeasureItem.ItemHeight = 20
That is just enough to sign a rectangle round a icon (16*16) of 2 pixels width...

For instance I want tot use it in the header...
Then it goes wrong...
The second item in the header comes over the first item...
When I go over the first Item with the cursor
than you can't see the Icon in the second item in the header...

I think that the code have problems with:

The sub MeasureItems...
I don't understand very good how it's works.
Especially...
EvMeasureItem.ItemWidth = CInt(EvMeasureItem.Graphics.MeasureString (GetRealText(Mi), m_Font, 10000, sf).Width) + 10
(I have make it like this...
EvMeasureItem.ItemWidth = CInt(EvMeasureItem.Graphics.MeasureString (GetRealText(Mi), m_Font, 10000, sf).Width) + 30
It is better but not good enough...

And...
Also with the function GetRealText...
Can it be that sometimes the code don't got the real length in pixels?...

Another question is...
Is it also possible to manipulate the Item -----------------


I hope that someone can help me ...

Vriendelijke groeten
Gilbert
GeneralSort a collection Pin
sybux200010-Apr-03 10:44
sybux200010-Apr-03 10:44 
GeneralRe: Sort a collection Pin
Nick Seng13-Apr-03 16:36
Nick Seng13-Apr-03 16:36 
GeneralRe: Sort a collection Pin
sybux200013-Apr-03 18:26
sybux200013-Apr-03 18:26 
GeneralCreating a date Pin
sybux200010-Apr-03 8:29
sybux200010-Apr-03 8:29 
GeneralRe: Creating a date Pin
Villly10-Apr-03 20:26
Villly10-Apr-03 20:26 
GeneralRe: Creating a date Pin
sybux200010-Apr-03 22:15
sybux200010-Apr-03 22:15 
GeneralReference spreadsheet needs to be open Pin
Nicole Sohenick10-Apr-03 6:57
sussNicole Sohenick10-Apr-03 6:57 
GeneralOLE from VB6 in C# Pin
Trevor Godwin10-Apr-03 1:03
sussTrevor Godwin10-Apr-03 1:03 
GeneralProblem to use ListSubItem Object in ListView Pin
CHEICKNA TRAORE9-Apr-03 13:59
CHEICKNA TRAORE9-Apr-03 13:59 
GeneralRe: Problem to use ListSubItem Object in ListView Pin
David Wengier10-Apr-03 16:49
David Wengier10-Apr-03 16:49 
GeneralBurning CDs programatically Pin
mabotta9-Apr-03 6:31
mabotta9-Apr-03 6:31 
GeneralRe: Burning CDs programatically Pin
Joao Vaz9-Apr-03 6:41
Joao Vaz9-Apr-03 6:41 
GeneralCalling an .exe inside VB.NET Pin
baby.chai9-Apr-03 5:26
baby.chai9-Apr-03 5:26 
GeneralRe: Calling an .exe inside VB.NET Pin
baby.chai9-Apr-03 7:16
baby.chai9-Apr-03 7:16 
QuestionSort Array? Pin
bjblackmore8-Apr-03 23:42
bjblackmore8-Apr-03 23:42 
AnswerRe: Sort Array? Pin
Nick Seng9-Apr-03 15:18
Nick Seng9-Apr-03 15:18 
AnswerRe: Sort Array? Pin
Member 26118811-Apr-03 1:50
Member 26118811-Apr-03 1:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.