Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Are you a Blue Wizard with ListViews???

Author
Message
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 5th May 2007 00:46 Edited at: 5th May 2007 12:48
Are you a Blue Wizard with ListViews???

I seem to be hitting my head against a brick wall when trying to do certain things to ListViews, Below is a list of things which I could do with in my app, (If Possable)

1. Is it possable to change the background color of a row OR Column?
2. Is it Possable to add a Little Icon like in Explorer when in Detail View
3. Is it Possable to Hightlight the Entire Row when Selected or on MouseOver instead of just the First Column?
4. How can I Sort a Column, IE: by clicking on the Column Title?, (I dont think GetEvent shows This)
5. Moving a Column to Rearrange order, Is there any way to do this?

MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 5th May 2007 12:43 Edited at: 5th May 2007 12:44
I take it noone knows the answer to any of these questions?
Shame as it would have made my app look alittle better


Attachments

Login to view attachments
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 5th May 2007 16:31
I know one of the answers;

No, I am indeed not, a blue wizard.

Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 5th May 2007 16:50
1. No
2. Yes
3. No
4. You cant do this automatically - do that by manually exchanging indexes, but this would be very slow
5. No

AMD Sempron 1.8+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP Pro SP2, DirectX 9.0c (Feb2007), DBPro 6.6b
http://www.myspace.com/producerolby
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 5th May 2007 17:37 Edited at: 5th May 2007 18:03
Olby Thanks
I managed to do number 2, (Adding an Icon)
I also managed to sort by Column, (A-Z and Z-A), But I am still unable to Identifiy if the Mouse is over or has clicked on The Column Title, Dont suppose anyone knows how to check for this?

Ruccus
Quote: "No, I am indeed not, a blue wizard"

Maybe you should go to Wizard School?

MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 6th May 2007 22:12 Edited at: 6th May 2007 23:15
Hi again

Sorry to be a pain but I have Another Problem with ListViews
This Time the Problem is with Selecting an Item

Problem 1
I've got a Right click menu which shows when you right click over the name in the first column, But you need to click Several times before it Recognises it, (I'm not use how to fix this)

Problem 2
I've set LEFTBUTTON_DBLCLICK to open the item, But I can't figure out how to use this one, I had to rem it out as it was running the associated code without requesting it, And when I do request it, it Dosn't work




Edit: I just figured out how to show/hide a Column, SetListViewColumnWidth, Its cheating, But it should work

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-22 16:32:22
Your offset time is: 2024-11-22 16:32:22