Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Playthrough
Detecting Quicktime
RegistryReader
Generic behavior to create a Shortcut
Force Characters
DrawXtra
Director in a Nutshell
Simatrix Menu
Generic behavior to change System Desktop Icons
Set PausedAtStart Property of a Flash member
 

 

 

Behavior Title Bar Color Gradient Effect Behavior

Added on 1/21/2002

 

Compatibilities:
behavior D6_5 D7 D8 D8_5 PC UK US

Required Xtras:
Desktop Xtra

This item has not yet been rated

Author: Shockdev

Allows to enable and disable Windows98/Me and Windows2000/XP Title Bar Color Gradient Effect

-- Color Gradient Effect Behavior
-- Desktop Xtra 1.0 or later required
-- Compatibilities: Director 6.x, 7.x, 8.x, Windows

property Gradient

on getPropertyDescriptionList
  set description = [:]
  addProp description, #Gradient, [#default: 1, #format:#integer, #comment:"Color gradient effect in windows title bar:" & RETURN & "(1 to enable, 0 to disable)"]
  return description
end

on getBehaviorDescription
  return "            " & ¬
  "- -    Colors Gradient Behavior    - -" & RETURN & ¬
  "Allows to enable or disable color gradient effect in windows title bar that available on Windows98/Me and Windows2000/XP." & RETURN & ¬
  "No need to check windows version, on Windows 95 it just doesn't work without error return."
end

on mouseDown
  setTitleGradient
end

on setTitleGradient
  
  set Ok = setGradient (Gradient)
  if getAt(Ok,1) = 0 then
    -- Ok
  else
    -- Error
    alert("Error: " & getAt(Ok,1) & " - base error code")
  end if
  
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail