Platforms to show: All Mac Windows Linux Cross-Platform
Required plugins for this example: MBS Win Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Win/Windows Taskbar State
This example is the version from Sun, 17th Mar 2012.
Project "Windows Taskbar State.xojo_binary_project"
Class Window1 Inherits Window
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
Control StaticText3 Inherits Label
ControlInstance StaticText3 Inherits Label
End Control
Control StaticText4 Inherits Label
ControlInstance StaticText4 Inherits Label
End Control
Control StaticText5 Inherits Label
ControlInstance StaticText5 Inherits Label
End Control
Control StaticText6 Inherits Label
ControlInstance StaticText6 Inherits Label
End Control
Control StaticText7 Inherits Label
ControlInstance StaticText7 Inherits Label
End Control
Control l Inherits Label
ControlInstance l Inherits Label
End Control
Control t Inherits Label
ControlInstance t Inherits Label
End Control
Control r Inherits Label
ControlInstance r Inherits Label
End Control
Control b Inherits Label
ControlInstance b Inherits Label
End Control
Control w Inherits Label
ControlInstance w Inherits Label
End Control
Control h Inherits Label
ControlInstance h Inherits Label
End Control
Control StaticText8 Inherits Label
ControlInstance StaticText8 Inherits Label
End Control
Control StaticText9 Inherits Label
ControlInstance StaticText9 Inherits Label
End Control
Control ah Inherits Label
ControlInstance ah Inherits Label
End Control
Control at Inherits Label
ControlInstance at Inherits Label
End Control
Control StaticText10 Inherits Label
ControlInstance StaticText10 Inherits Label
End Control
Control tb Inherits Label
ControlInstance tb Inherits Label
End Control
EventHandler Sub Open()
dim wt as WindowsTaskbarStateMBS
wt=new WindowsTaskbarStateMBS
l.text=str(wt.Left)
t.text=str(wt.top)
w.text=str(wt.width)
h.text=str(wt.height)
b.text=str(wt.bottom)
r.text=str(wt.right)
if wt.AlwaysOnTop then
at.text="yes"
else
at.text="no"
end if
if wt.AutoHide then
ah.text="yes"
else
ah.text="no"
end if
tb.text=str(WindowsSystemMetricsMBS(4))
End EventHandler
End Class
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project
See also:
- /Win/Windows DDE/CreateGroup
- /Win/Windows DDE/DeleteGroup
- /Win/Windows Devices
- /Win/Windows Font Unicode and Code Pages
- /Win/Windows Registry Test
- /Win/Windows Shortcuts/File Shortcut
- /Win/Windows Switch Printers for printing
- /Win/Windows System Tray
- /Win/Windows Touch Events
- /Win/Windows VM Statistics
The items on this page are in the following plugins: MBS Win Plugin.