|
-
Aug 20th, 2003, 09:55 PM
#1
Thread Starter
Hyperactive Member
ListView FullRowSelect
On a listview how would I go about changing the point at which the fullrowselect starts?
If you're confused to what I mean look at the picture below, the fullrowselect starts after the first three column headers.
I'm sensing some flags with the SendMessage API could fix it, but I don't know where to start.
Cheers.
-adehh
-
Aug 20th, 2003, 10:12 PM
#2
I think it may have to do with the columns having an image list
associated with them. I think sub-classing is a good place to start.
I remember someone sub-classing a listview to change the
foregroung/background colors on sub items. Try a quick search
in the vbforums. It may point you in the right direction.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 20th, 2003, 10:37 PM
#3
Thread Starter
Hyperactive Member
Ooer, sub-classing - never tried that one before. Did a search for subclass, listview and fullrowselect on google and here but didn't come up with anything interesting, do you think it's at all possible?
-adehh
-
Aug 21st, 2003, 07:21 AM
#4
Errr...that picture is not a listview...it's not possible with a listview and would be WAY to messy and a waste of time trying to code it in API. A listview is NOT a proper grid 
U could download the S-Grid from http://www.vbaccelerator.com/home/VB/Code/Controls, that allows you to do it, and you can create a grid that looks identical to that in your picture.
The S-Grid is FREE and is a damn good control, the best free grid I have seen. God knows why it's free as some grid that you pay for are crapper...oh and you can also download the source code for S-Grid...
Hope that helps,
Adios
Woofer
-
Aug 21st, 2003, 09:52 AM
#5
The picture looks like it is a listview in report style with an image
list associated with it for the column header icons and
the link is a simpler method and saves time coding. Good
suggestion.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 21st, 2003, 09:54 AM
#6
-
Aug 21st, 2003, 09:59 AM
#7
That is a fair assumption.
When I want to duplicate something I see in windows I use
Spy++ to get the actual class of the control. This way I know
which direction to go in first.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 21st, 2003, 01:48 PM
#8
Fanatic Member
Hey Woka,
I downloaded the SGrid and the demonstration. I tried running the demonstration, but it says that the S-Grid.ocx is not properly registered. How do I register it so that I can run the demo?
Motto: Anything for a laugh.
Getting second place only means you are the first loser to cross the finish line.
-
Aug 21st, 2003, 02:15 PM
#9
The picture isn't missing
I personally made it so that when I double click dll's and ocx's it would self register (by Open With regsvr32)
but if you want, you would go Start->Run
and type regsvr32 PATH+FILENAME of the ocx
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 21st, 2003, 02:16 PM
#10
Fanatic Member
Motto: Anything for a laugh.
Getting second place only means you are the first loser to cross the finish line.
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
|