How to set desktop shortcut (icon) position

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set desktop shortcut (icon) position

Louis LaBrunda
Hi All,

I would like to set desktop shortcut (icon) positions from Smalltalk code.  I think this can be done with windows API calls and that VA Smalltalk has ways of making these calls but I don't know what calls to make or how to get started.  Any help is greatly appreciated.

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/86212a83-6d10-4595-891c-ece3ea98e9acn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to set desktop shortcut (icon) position

Mariano Martinez Peck-2
Hi Louis,
I don't know which is the Windows API for it, but as for calling it from VA, you may want to take a look to OSCall, OSHandle, PlatformFunction, etc... 

Cheers,


On Mon, Dec 7, 2020 at 4:24 PM Louis LaBrunda <[hidden email]> wrote:
Hi All,

I would like to set desktop shortcut (icon) positions from Smalltalk code.  I think this can be done with windows API calls and that VA Smalltalk has ways of making these calls but I don't know what calls to make or how to get started.  Any help is greatly appreciated.

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/86212a83-6d10-4595-891c-ece3ea98e9acn%40googlegroups.com.


--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibFAw13sv%3DAet8-uAL0Tc5FW9xm3G9Gx6t%2Bq3fHTmD3AgA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to set desktop shortcut (icon) position

Louis LaBrunda
HI  Mariano ,

Thanks for the reply.  I am, in a general sense, familiar all those classes.  This is really less of a VA Smalltalk question and more a Windows API question.

I can get what I think is a handle to the desktop with OSHwnd getDesktopWindow.  There are other Windows functions like HdmGetitemcount, LvmGetitemcount and TcmGetitemcount that I think should get a count of the desktop shortcuts but every way I try to use them returns zero (0).  So, if someone knows ho to do this from a C (or other) program, an example would be a big help.  Thanks.

Lou


On Tuesday, December 8, 2020 at 7:54:13 AM UTC-5 [hidden email] wrote:
Hi Louis,
I don't know which is the Windows API for it, but as for calling it from VA, you may want to take a look to OSCall, OSHandle, PlatformFunction, etc... 

Cheers,


On Mon, Dec 7, 2020 at 4:24 PM Louis LaBrunda <[hidden email]> wrote:
Hi All,

I would like to set desktop shortcut (icon) positions from Smalltalk code.  I think this can be done with windows API calls and that VA Smalltalk has ways of making these calls but I don't know what calls to make or how to get started.  Any help is greatly appreciated.

Lou

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/86212a83-6d10-4595-891c-ece3ea98e9acn%40googlegroups.com.


--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/04ca03fa-54b6-4efa-90be-2590bb93357dn%40googlegroups.com.