Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{tag>category:"presentation server" }} ====== Taskbar Integration - The TASKBARID property ====== === Published 21 JAN 2013 at 06:00:47AM === == Updated on 24 APR 2013 at 06:00:47AM == In a [[http://revdevx.wordpress.com/2012/12/04/the-rxi-files-part-ii/|previous post on the RXI files]] we mentioned the **taskBarID** switch that could be applied when launching the Presentation Server to un-group instances of the same executable on the Windows Taskbar. This same principle can also be applied to top-level application windows so they can have their own icon on the taskbar rather than being grouped together with other application windows owned by the same instance. To support this feature OpenInsight 10 provides a new WINDOW property called **TASKBARID**, which should contains a unique value that differentiates the window from other windows running on the desktop. For example, a fairly easy way to set a unique value would be to combine the window ID and handle like so: <code> taskBarID = @window : "." : get_Property( @window, "HANDLE" ) call set_Property( @window, "TASKBARID", taskBarID ) </code> Here is an example of a window with a blank **TASKBAR **property - notice that it is grouped with the System Monitor window as they both belong to the same instance of OpenInsight: [caption id="attachment_664" align="aligncenter" width="483"][[http://revdevx.files.wordpress.com/2013/02/taskbarid_blank.png|{{16458.2505439815_1.png}}]] TASKBARID not set[/caption] Here is the same window with the **TASKBARID **set to "TEST" - the OpenInsight 10 window icon is now visible on the TaskBar: [caption id="attachment_665" align="aligncenter" width="430"][[http://revdevx.files.wordpress.com/2013/02/taskbarid_set.png|{{16458.2505439815_2.png}}]] TASKBARID set to “TEST”[/caption] Note that you can also give multiple windows the same **TASKBARID** if you wish to control how they are grouped together. [Edit: 01 Feb 13 - property renamed to **TASKBARID**] //(Disclaimer: This article is based on preliminary information and may be subject to change in the final release version of OpenInsight 10).// === Comments === == Original ID: revdevx.wordpress.com/?p=467 == third_party_content/revdevx/16458.2505439815.txt Last modified: 2024/01/29 20:23by 127.0.0.1