473,386 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Using ms paint in my C# app

Hi,

I have been using MS paint to manipulate bitmaps by adding layers and points
to existing bitmaps. I need to know where in the bitmaps i have been adding
layers and points and paint tells me this by giving me the co-ordinates that
the cursor is pointing to in the bitmap on the status bar.

The above features are what i need to have access to from inside my C#
application and was wondering if there is a way i can embedd the ms paint
application inside my C# windows form appliction.

Thanks In Advance
Macca
Nov 17 '05 #1
3 7733
Macca,

Unfortunately, no, there isn't any way you can access this from MSPAINT.
MSPAINT is a self-contained executable which doesn't expose any
functionality to outside apps (AFAIK).

However, MSPAINT is not overly complex in what it does. You should be
able to replicate the functionality in .NET easily.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Macca" <as****@dsl.pipex.com> wrote in message
news:3f******************************@pipex.net...
Hi,

I have been using MS paint to manipulate bitmaps by adding layers and
points
to existing bitmaps. I need to know where in the bitmaps i have been
adding
layers and points and paint tells me this by giving me the co-ordinates
that
the cursor is pointing to in the bitmap on the status bar.

The above features are what i need to have access to from inside my C#
application and was wondering if there is a way i can embedd the ms paint
application inside my C# windows form appliction.

Thanks In Advance
Macca

Nov 17 '05 #2
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:O2**************@TK2MSFTNGP10.phx.gbl...
Unfortunately, no, there isn't any way you can access this from
MSPAINT. MSPAINT is a self-contained executable which doesn't expose any
functionality to outside apps (AFAIK).

However, MSPAINT is not overly complex in what it does. You should be
able to replicate the functionality in .NET easily.

Hope this helps.


paint.net is a .net version of paint! :-)

http://www.eecs.wsu.edu/paint.net/
Nov 17 '05 #3
Danny,

Will i be able to embed this in my C# application?

Regards
Macca

"Danny Tuppeny" wrote:
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:O2**************@TK2MSFTNGP10.phx.gbl...
Unfortunately, no, there isn't any way you can access this from
MSPAINT. MSPAINT is a self-contained executable which doesn't expose any
functionality to outside apps (AFAIK).

However, MSPAINT is not overly complex in what it does. You should be
able to replicate the functionality in .NET easily.

Hope this helps.


paint.net is a .net version of paint! :-)

http://www.eecs.wsu.edu/paint.net/

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Minti | last post by:
Hi there all, I am having a weird problem in the following Applet code, <begin code> public class MouseInputTester extends java.applet.Applet { private String msg = ""; private int mouseX ;...
0
by: vooose | last post by:
Consider a UserControl to which you do userControl.Paint += new PaintEventHandler(paint_method) If you don't like that way, and prefer to override onPaint( ) then the problem stated below...
2
by: Robert W. | last post by:
I have an About box where I've successfully implemented a custom paint event. The structure of it is simple: protected void PaintClient(Object sender, PaintEventArgs e) { // Assorted graphics...
3
by: Mike Cooper | last post by:
I have been staring at the above error for over a week now! I have a an inherited data class looking like thus: Public Class DataGridBoolColumnInherit Inherits...
7
by: Peter Row | last post by:
Hi, I've started work on my own control some parts of which use standard controls, others I need to draw on my controls surface to get the display output I require, however.... I seem to be...
4
by: Crisis | last post by:
Basically, i have a program that shows images and i want it to open the image currently selected with mspaint so they can edit it. Currently i can open paint when the user clicks a button i have...
7
by: Rotsey | last post by:
Hi, I have a interface that I use for a form so I can pass the form to another object. How do I add the Paint event to the interface and subsequently handle the paint event in my other...
5
by: =?Utf-8?B?SmVzcGVyLCBEZW5tYXJr?= | last post by:
Hi, On a usercontrol I've put a set of radiobuttons within a groupbox. These radiobuttons have visual style enables, i.e. they turn orange when hovering over them and green when pushed. ...
14
by: raylopez99 | last post by:
KeyDown won't work KeyPress fails KeyDown not seen inspired by a poster here:http://tinyurl.com/62d97l I found some interesting stuff, which I reproduce below for newbies like me. The main...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.