B
Ben
Hi there
I found the following sub in msdn that draws an icon in the first column in
a listview row. The problem is I have no idea how "e" works and I have to
pass it to this sub below:
Public Sub DrawIconRectangle(ByVal e As PaintEventArgs)
Dim newIcon As New Icon("SampIcon.ico")
Dim rect As New Rectangle(0, 0, 16, 16)
e.Graphics.DrawIcon(newIcon, rect)
End Sub
So what do I put as the argument when calling DrawIconRectangle(argument) ?
I am calling DrawIconRectangle from another sub
Thanks
I found the following sub in msdn that draws an icon in the first column in
a listview row. The problem is I have no idea how "e" works and I have to
pass it to this sub below:
Public Sub DrawIconRectangle(ByVal e As PaintEventArgs)
Dim newIcon As New Icon("SampIcon.ico")
Dim rect As New Rectangle(0, 0, 16, 16)
e.Graphics.DrawIcon(newIcon, rect)
End Sub
So what do I put as the argument when calling DrawIconRectangle(argument) ?
I am calling DrawIconRectangle from another sub
Thanks