Log in

View Full Version : How to add entries to the Notes application


guich
08-13-2002, 11:02 PM
Hi,

I want to add some entries to the Notes application. How can this be done in straight C?

thanks!

guich

Brad Adrian
08-14-2002, 01:40 AM
Not sure I understand the question. Are you talking about editing the application itself?

guich
08-14-2002, 01:52 AM
Well, not exactly.
You know the Notes application in PocketPC, right?
I have a program where i want to generate some text to be outputted to the user. Then, i want the user to be able to get this text.
I could create a txt file, but i want to use the internal applications.

So, i want a function like this:

addTextToNotes(TCHAR *textEndingWith0).

Retrieving the current notes would also be great.

thanks!

Jorj Bauer
08-14-2002, 02:45 AM
I could create a txt file, but i want to use the internal applications.


I'm a little rusty on the interface, but you can create an Ink control, put some text in it, and then query it for its contents. The contents, if I recall correctly, are returned in the same format that the Notes app uses.

Disclaimer: this information is from a brain that's very bad at retreiving old information. I last did this about two years ago. YMMV.

Brad Adrian
08-14-2002, 02:56 AM
You may want to consider posting this question to this newsgroup (if you haven't already):

microsoft.public.pocketpc.developer