TASKBARBUTTON property (Window)
Description
Returns TRUE$ if Windows has created a taskbar button for the window.
Property Value
This is a Boolean property.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get | No | No | No |
Remarks
Properties and methods that affect the Windows taskbar, such as OVERLAYICON and TASKBARID, will not work until Windows has created a taskbar button for the window in question. This property can be used to check if the taskbar button is present before any attempts to interact with it are made.
Example
// Example - check to see if the taskbar button has been created // before attempting to set the overlay icon If Get_Property( @Window, "TASKBARBUTTON" ) Then Icon = ".\icons\mywin.ico" Call Set_Property( @Window, "OVERLAYICON", Icon ) End
See Also
OVERLAYICON property, TASKBARID property, SYNCTASKBAR property