CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2008
    Posts
    62

    Red face Changing mouse cursor to paint brush

    Hi people,

    I am having one innovation idea. i dont know how far it's possible.plz give me your valuable ideas.

    If i open the GIf image it will open in "Windows picture and Fax Viewer".If i want to put any circle in that image means, i have to open via Ms paint.
    But i dont want to open in mspaint, i want to put circle in image viewer itself.For that can i change my mouse cursor into paint brush ?
    Is it a right way or anyother way to acheive my idea ?

    Thanks,
    Riyas.B
    Growing Developer

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Changing mouse cursor to paint brush

    I'm confused. You can't change the cursor of another app like that. Even if you could, how would that make it start drawing circles?

    Sorry, but your wording is very unclear.

  3. #3
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: Changing mouse cursor to paint brush

    A brush-like cursor does not paint itself as well as a bomb-like cursor doesn't blowup the computer.
    There is a lot of programmer sweat behind.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  4. #4
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Changing mouse cursor to paint brush

    Only sensible solution is to write your own viewer that supports drawing circles or to make paint the default application.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  5. #5
    Join Date
    Oct 2008
    Posts
    62

    Unhappy Re: Changing mouse cursor to paint brush

    Can you plz guide me how to create our own viewer?

  6. #6
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Changing mouse cursor to paint brush

    You could start a single view MFC application and use GDI+ to load the image, to draw things on it and to save it back to file.
    But all depends on your knowledge of programming...
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

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