 |
| Moving shortcut to a specified position on the Windows Desktop |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
Versions: click to open |
 |
|
 |
 |
| Before you begin: |
 |
Before testing this code sample, uncheck "Auto arrange icons" and "Align icons to grid" options in the context menu on the Windows desktop.

On the VFP form, each round Shape control corresponds to a shortcut located on the Windows Desktop.
On initialization, the form reads the desktop shortuct locations and then arranges the shapes accordingly. Moving a shape on the form also moves the corresponding desktop shortcut (not otherwise, though it is also achievable).
See also:
Obtaining names and positions for shortcuts located on the Windows Desktop
How to create a desktop shortcut |
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 6757 bytes Created: 2012-02-09 23:15:51 Modified: 2012-02-19 18:42:54 Visits in 7 days: 134 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
| On the Internet one can find utility software that allows user save and restore desktop shortcut layout in Windows. Using this code sample you can write your own Visual FoxPro shortcut layout utility that will work on 32- and 64-bit Windows from XP and up. |
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|