Jump to content
Sign in to follow this  
Fabse

Get selected desktop icons

Recommended Posts

Hi Community!

Im crawling through google for 2 days now to write a function for getting selected desktop icons.

Filelist of icons i can get, also theire position in binary from regkey, but how can i find out if they are currently selected or not?

 

Thanks in advance!

Edited by Fabse

Share this post


Link to post
Share on other sites

Hi @Fabse :)

You are trying to see which desktop icons are selected? For what? 


Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites
5 minutes ago, FrancescoDiMuro said:

Hi @Fabse :)

You are trying to see which desktop icons are selected? For what? 

Heres a vid what the app does:

 

its almost finished when the selected icon hiighlighting is working :)

Edited by Fabse

Share this post


Link to post
Share on other sites

@Fabse

Nice application! :)

By the way, I was seeing that the Desktop, is a ListView.

So, you could use a combination of WM_NOTIFY Windows Message, plus Control* functions, and some other GUI* functions.

Take a look at this, and tell us if it could be helpful :)


Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites
32 minutes ago, FrancescoDiMuro said:

@Fabse

Nice application! :)

By the way, I was seeing that the Desktop, is a ListView.

So, you could use a combination of WM_NOTIFY Windows Message, plus Control* functions, and some other GUI* functions.

Take a look at this, and tell us if it could be helpful :)

thanks for your help ill try this now and post code later ;)

Edited by Fabse

Share this post


Link to post
Share on other sites

Told you about Control* functions ;)
Happy to have helped! :)


Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...