Jump to content
  • Advertisement
Sign in to follow this  
Strawberry

Need win32 api list-view contoller help =)

This topic is 4845 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Yo! ;) To keep it short: Background: Im writing a book registration program for the moment, gui style ofcource, and im using a list-view controller to display all the books, The problem: My api files are kind of old, and i searched msdn.com for newer version for vc++ 6.0 but i cant find any =/ And i have to be able to sort any of 6 items/sub-items when ur clicking the column tops :P, "well thats easy, i done that before..".. erh. no, i have to be able to alphabeticly sort any of the items, without the LVM_SORTITEMSEX message =/ My current idea of solution: Since i can still use the old sort function, i could set up all the lParams to match the right order of the field im intrested in... or can i? All if any help appriciated cheers! ;)

Share this post


Link to post
Share on other sites
Advertisement
ah, nvm i think i figured it out... i set lparam as an item index, then i just use the item index together with the book data, and the lparamSort in the callback to decide what field to sort after, then just comprare them alphabeticly... wouldnt that work just fine?

Now the question... how do i refine what the user wanna sort it by?, eg. what header the user pushed? =)

cheers!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!