[CLOSED] Center desktop shortcuts on desktop

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Center desktop shortcuts on desktop

    Some customers can make you crazy :)

    I'm creating my shortcuts in codebehind like this:

     DesktopShortcut sc = new DesktopShortcut
                    {
                        X = Conversie.ToString(xPosition),
                        Y = Conversie.ToString(yPosition),
                        ModuleID ="dmname",
                        Text = "shortcuttext",
                        IconCls = "iconclasss"
                     };
                    MyDesktop.Shortcuts.Add(sc);
    Starting from the left top corner --> adding some pixels on x and y to place the different desktopshortcuts on the right place. Works like a charm.
    Suddenly a customer want to center these shortcuts. They need to be centered also after windowresize.

    Need some ideas... :)

    Martin
    Last edited by Daniil; Jul 18, 2011 at 3:54 PM. Reason: [CLOSED]

Similar Threads

  1. Desktop Shortcuts
    By fabiomarcoseuzebio in forum 1.x Help
    Replies: 1
    Last Post: Sep 06, 2012, 3:23 PM
  2. Replies: 5
    Last Post: Nov 14, 2011, 10:28 AM
  3. Refreshing desktop control from desktop window
    By AnilVelamuri in forum 1.x Help
    Replies: 0
    Last Post: May 26, 2010, 8:53 AM
  4. Adding shortcuts on desktop
    By joao.msdn in forum 1.x Help
    Replies: 1
    Last Post: Apr 13, 2010, 10:06 AM
  5. Replies: 1
    Last Post: Mar 17, 2009, 2:17 AM

Tags for this Thread

Posting Permissions