Results 1 to 3 of 3

Thread: Vb.net 6 cursor axis full screen

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2022
    Posts
    3

    Vb.net 6 cursor axis full screen

    Hello,

    Can anybody explain me how to draw a verical and horizontal axis
    On the main form or picturebox, where the background (bitmap) is untouched or restored?
    Like for example how ms paint does is. I know paint is written in vb.

    Obviously I use the mouse for the location.

    Thx in advance.

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,370

    Re: Vb.net 6 cursor axis full screen

    I don't know what you are asking for. You ask how to draw horizontal/vertical axis but then elude to knowing where the mouse is located.

    If you want essentially rebuild paint, I would look at .paul.'s Paint lite.Net codebank submission: https://www.vbforums.com/showthread....Paint-lite-Net
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Vb.net 6 cursor axis full screen

    If you handle the Paint event of a PictureBox control, you can then draw on the control, which has no effect on the Image displayed in the control.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Tags for this Thread

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