Maximize window by default in WebDesktop

1 reply. Last post: February 15, 2012 9:29 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Gaja NaikMember

So i am creating shorcuts in a webdesktop and assigning target url to the shortcuts dynamically on Page_Load

This is part of the code in page load

gblIcons oIcons = new gblIcons(ConnectionString);

oIcons.Query.Load();

do

{

    webShortCut = new ISNet.WebUI.WebDesktop.WebDesktopShortcut();

    ptLocation = new System.Drawing.Point(iX, iY); // i am manipulating the ix and iy to place the icon in order but don't worry abt it in the sample code.

    webShortCut.Name = "wc" + oIcons.s_ControlName;

    webShortCut.Location = ptLocation;

    strCatetory = oIcons.s_Category;

    webShortCut.Text = oIcons.s_IconName;

    webShortCut.ToolTip = oIcons.s_ToolTip;

    webShortCut.TargetURL = oIcons.s_TargerURL;

    webShortCut.WindowName = oIcons.s_WindowName

} while (oIcons.MoveNext());

 

Everything work fine .. when i double click the shorcuts on the desktop the Window that opens is in normal mode.. i need it to be maximized. How can i sent the window to be maximized by default when i click the shorcuts.

 

 

All times are GMT -5. The time now is 3:05 AM.
Previous Next