In a graphical desktop environment displaying desktop components, a
control is provided to track the position of a pointer on a screen, and
when the pointer enters relevant regions with respect to a desktop
component, a thin or thick border in displayed around the desktop
component to enable a user to resize the desktop component, and/or a
caption bar is displayed along an edge of the component to enable a user
to move the desktop component on the desktop. The caption bar may
additionally be provided with menu and close buttons, to enable the user
to bring up a menu of properties and/or actions for the desktop
component, and close the desktop component, respectively. When the
pointer is outside any region relevant to a desktop component, no borders
or caption bars are displayed, thereby resulting in a visually less
cluttered appearance.