CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    15

    How do I draw a shape ANYWHERE on the screen? Get the DC of the screen?

    I want to be able to draw outside my window; i.e., anywhere on the screen. I THINK that I need to get the DC of the screen, but don't know how to do it.

    Thanks.

    Larry Woods

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: How do I draw a shape ANYWHERE on the screen? Get the DC of the screen?

    Try

    GetDC( GetDesktopWindow( ) )

    Regards,

    Paul McKenzie


  3. #3
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: How do I draw a shape ANYWHERE on the screen? Get the DC of the screen?

    Or
    ::GetDC(NULL);



    Wayne


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured