On Mon, Sep 16, 2013 at 7:11 PM, Art Heimsoth <artst...@artheimsoth.com>wrote:


> How would I go about creating or modifying a program shortcut on the
> desktop
> from within ooRexx or ooDialog?  Possible?
>
>
Art,

It's possible.

You use the winsystm.cls, require it,  Then you use the
WindowsProgramManager class.  The doc for the class is in winextensions.pdf.

There are two example programs that should give you an idea to get started:

samples\ooDialog\winsystem\desktop.rex
samples\ooDialog\winsystem\deskicon.rex

The WindowsProgramManager class uses the outdated Windows 3.1 APIs, but
they still work.  You may run into some anomalies if you are in Windows 7,
or Vista.  But you can work around them.  If you get stuck, just post
another question.

--
Mark Miesfeld
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to