[CLOSED] Desktop Task bar options

  1. #1

    [CLOSED] Desktop Task bar options

    We have a desktop window that has the property maximizable="false". When the window shows in the task bar, we still have the option to maximize. How do you disable maximize option for a window in Task Bar ? Please check the attached screen shot to see what I am talking about ?
    Attached Thumbnails Click image for larger version. 

Name:	Maximize.jpg 
Views:	199 
Size:	53.5 KB 
ID:	2111  
    Last edited by Daniil; Jan 04, 2011 at 5:41 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please look at the example (see DesktopWindow markup).

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        <ext:Desktop runat="server" BackgroundColor="black">
            <Modules>
                <ext:DesktopModule 
                    ModuleID="DesktopModule1" 
                    WindowID="DesktopWindow1" 
                    AutoRun="true" />
            </Modules>
            <Shortcuts>
                <ext:DesktopShortcut ModuleID="DesktopModule1" Text="Shortcut" />
            </Shortcuts>
            <StartMenu>
                <Items>
                    <ext:MenuItem Text="DesktopWindow1">
                        <Listeners>
                            <Click Handler="DesktopWindow1.show();" />
                        </Listeners>
                    </ext:MenuItem>
                </Items>
            </StartMenu>
        </ext:Desktop>
        <ext:DesktopWindow 
            ID="DesktopWindow1" 
            runat="server" 
            Title="DesktopWindow" 
            Maximizable="false">
            <Listeners>
                <Show Handler="this.taskButton.cmenu.items.removeAt(2)" Single="true" />
            </Listeners>
        </ext:DesktopWindow>
        </form>
    </body>
    </html>
  3. #3
    Perfect !! Thanks.

Similar Threads

  1. [CLOSED] Task bar text
    By schellappa in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jan 19, 2011, 5:51 PM
  2. [CLOSED] Issue with Tree Grid and Desktop task bar
    By ducnt in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 29, 2010, 9:07 AM
  3. [CLOSED] Task manager
    By majestic in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 07, 2010, 5:15 PM
  4. task
    By wdjlover in forum 1.x Help
    Replies: 8
    Last Post: Jun 17, 2009, 11:56 PM

Tags for this Thread

Posting Permissions