Windows Vista Forums

Drawing shapes without using a window

  1. #1


    Charles Guest

    Drawing shapes without using a window

    Hi All,

    I am wanting to draw shapes on the screen using WPF but without drawing them
    onto a window. Is this possible and if so how do I do this?

    Many thanks,

    Charles



      My System SpecsSystem Spec

  2. #2


    Laurent Bugnion, MVP Guest

    Re: Drawing shapes without using a window

    Hi,

    Charles wrote:

    > Hi All,
    >
    > I am wanting to draw shapes on the screen using WPF but without drawing them
    > onto a window. Is this possible and if so how do I do this?
    >
    > Many thanks,
    >
    > Charles
    You need a window to draw on it. However, you can in WPF make that
    window transparent and style-less. So the illusion is that you draw on
    the screen.

    Greetings,
    Laurent
    --
    Laurent Bugnion [MVP ASP.NET]
    Software engineering, Blog: http://www.galasoft.ch
    PhotoAlbum: http://www.galasoft.ch/pictures
    Support children in Calcutta: http://www.calcutta-espoir.ch

      My System SpecsSystem Spec

  3. #3


    mbrown77 Guest

    Re: Drawing shapes without using a window

    If you make your window transparent (AllowsTransparency="True") then
    the child elements of your window will appear to draw directly to the
    desktop.

    On Sep 19, 9:04 am, Charles <Char...@xxxxxx> wrote:

    > Hi All,
    >
    > I am wanting to draw shapes on the screen using WPF but without drawing them
    > onto a window. Is this possible and if so how do I do this?
    >
    > Many thanks,
    >
    > Charles


      My System SpecsSystem Spec

Drawing shapes without using a window

Similar Threads
Thread Thread Starter Forum Replies Last Post
First Look: Windows 7 Shapes Up as Microsoft’s Best OS Yet JMH Vista News 0 16 Aug 2009
grouping shapes with lines inside Don Vista General 4 18 Jan 2008
Vista x64 not properly drawing window screens? Mohamed Mansour Vista General 0 07 Jan 2008
Vista or Publisher2007? Filling shapes... annieuk Vista print fax & scan 0 19 Jun 2007
Hit testing and moving shapes Peter Johnston Avalon 4 10 Jan 2006