|
-
Jul 3rd, 2002, 05:37 PM
#1
-
Jul 3rd, 2002, 06:09 PM
#2
Well...I'm not up on .NET yet, but here's how you would do it in VB6.
http://209.120.143.185/showthread.ph...istview+header
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 3rd, 2002, 06:20 PM
#3
sounds like a very yummy one, but I dont think I can use that in VB.NET
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 5th, 2002, 05:55 PM
#4
This sounds like the perfect project to learn how to create custom controls that inherit another control....
Seriously though, why don't you create your own custom control based off of the listview control. Probably in the OnPaint method (if there is one??) you will want to look to see if the columns have changed size, if so, raise your new event...
I wrote my own control based off of the panel control, and added a custom event to it, it wasn't that bad at all. The only problem I had was learning how delegates work, but maybe VB will shield you from those.
-
Jul 5th, 2002, 11:44 PM
#5
umm looks very hard
-
Sep 17th, 2002, 10:54 PM
#6
someone in gotdotnet forums said this... doesnt always work though:
VB Code:
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
If m.Msg = 78 And m.LParam.ToInt32 = 1242688 Then
MessageBox.Show("ListView resized, do something")
End If
MyBase.WndProc(m)
End Sub
anyone can help me with this? LParam is 1242452 on my comp
is it even a good way to do this?
how else can this be done?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|