dcsimg
Results 1 to 5 of 5

Thread: Draw picture on top

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2007
    Posts
    5

    Draw picture on top

    Hi

    I am looking for a method to draw a picture on top of ALL programs
    I think this is possible, so how ?

    Please reply

    Thanks

    Greets
    Kosty

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,692

    Re: Draw picture on top

    Make your form on top.

    Draw the picture on your form.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2007
    Posts
    5

    Re: Draw picture on top

    Thanls i will try that

    Int there another method too ?

    I saw someone, and he drawed 16pixels on the middle of my screen, and his form was definetly under my (fullscreen) program

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,692

    Re: Draw picture on top

    What were the pixels drawn ON? Some other form? The desktop?
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  5. #5
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    18,597

    Re: Draw picture on top

    By obtaining the DC to the desktop, you can draw directly over everything. Quite annoying in my opinion. The rendering won't stay though, as each window is eventually repainted, there goes your drawing. Using Win2K and above, one can create a translucent window and display that. Since it is not simply drawing over the desktop, the window will remain -- again annoying unless one can remove it at will or it removes itself rather quickly.

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width