' FixedSize is of type Size and can therefore accept two
' ints for the width and height. Using the Screen class,
' you can get the working area (the screen area without
' the taskbar) and set the desktop alert window to be
' half of that. This way, you can show more information.
Me.UltraDesktopAlert1.FixedSize = _
New Size(Screen.PrimaryScreen.WorkingArea.Width / 2, _
Screen.PrimaryScreen.WorkingArea.Height / 2)
' Display the desktop alert window with some sample text.
Me.UltraDesktopAlert1.Show("Test Alert", "This is only a test")