473,394 Members | 1,693 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,394 software developers and data experts.

Free-hand drawing

Hello newsgroup,

I want to create a C# program in which the user is able to draw
free-handed (eg. Paint) on top of a picture. The program is for use on
pocket pc (edition windows mobile 2005).
Anyone any ideas, tips, samples (eg. for the painting)?
Thanks a lot!
Tari

Jul 25 '06 #1
4 2598
Hi,

There is a signature control example in MSDN, I think that you can use that
as a start point for your request.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<ti******@gmail.comwrote in message
news:11*********************@75g2000cwc.googlegrou ps.com...
Hello newsgroup,

I want to create a C# program in which the user is able to draw
free-handed (eg. Paint) on top of a picture. The program is for use on
pocket pc (edition windows mobile 2005).
Anyone any ideas, tips, samples (eg. for the painting)?
Thanks a lot!
Tari

Jul 25 '06 #2
ti******@gmail.com wrote:
Hello newsgroup,

I want to create a C# program in which the user is able to draw
free-handed (eg. Paint) on top of a picture. The program is for use on
pocket pc (edition windows mobile 2005).
Anyone any ideas, tips, samples (eg. for the painting)?
for a start.. create a custom UserControl and override OnPaint,
OnMouseDown, OnMouseMove, OnMouseUp. Record what to paint in the OnMouse
methods and paint it in OnPaint.

More details needed.

hth,
Max
Jul 25 '06 #3
i dont think you need to do a Custom Control to do this...i made one without
using a Custom Control.....just a heads up that if you use the Graphics
object to draw, your drawings will be lost if your app is minimized or
another app gets focus over your form....to get around this, i suggest you
look at the GraphicsPath object....
--
-iwdu15
Jul 25 '06 #4
Hello ti******@gmail.com,

Use Microsoft Ink for this
See there http://www.codeproject.com/cs/media/inkanied.asp
Hello newsgroup,

I want to create a C# program in which the user is able to draw
free-handed (eg. Paint) on top of a picture. The program is for use on
pocket pc (edition windows mobile 2005).
Anyone any ideas, tips, samples (eg. for the painting)?
Thanks a lot! Tari
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 25 '06 #5

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

Similar topics

3
by: dam_fool_2003 | last post by:
hai, Consider this following fragement typedef struct node { ... ... ... struct node *next; }NODE;
9
by: zerro | last post by:
Hello, I try to understand heap overflows (under Linux), but can not understand one thing with freeing memory allocated with malloc(). Here it comes: I have a program called 1.c: main() {...
16
by: Peter Ammon | last post by:
Often times, I'll have some malloc()'d data in a struct that need not change throughout the lifetime of the instance of the struct. Therefore, the field within the struct is declared a pointer to...
13
by: John | last post by:
In the course of an assignment, I learned the hard way that I shouldn't try to free a malloc'd member of a malloc'd structure after having freed that structure (i.e., free( structure ); free(...
17
by: kj | last post by:
How can one test if a pointer has been "freed" (i.e. with free())? My naive assumption was that such a pointer would equal NULL, but not so. Thanks, kj -- NOTE: In my address everything...
7
by: slashdotcommacolon | last post by:
Hello, I'm working on the exercises from k&r, exercise 5-13 is to implement a simple replacement for the unix tail command. The brief says it should be able to cope no matter how unreasonable the...
76
by: dbansal | last post by:
Hi group, I have a question to ask you all. I have allocated some chunk of memory using ptr=(int*)malloc(). now I am trying to free that memory using free((void*)ptr). My question is does free()...
13
by: Chad | last post by:
Excercise 6-5 Write a functon undef that will remove a name and defintion from the table maintained by lookup and install. Code: unsigned hash(char *s); void undef(char *s)
3
by: dreiko466 | last post by:
(sorry about my english...) I am a newbie in C (3 month expierience) I have wrote a simple test programm in VS2005, what i do wrong?Please... In this programm i create a double linked list.Then ...
20
by: sirsnorklingtayo | last post by:
hi guys please help about Linked List, I'm having trouble freeing the allocated memory of a single linked list node with a dynamic char* fields, it doesn't freed up if I use the FREE()...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.