|
-
Jan 24th, 2002, 08:10 AM
#1
Thread Starter
Hyperactive Member
notepad
Does anyone know a place where I can download source code
for a win32 notepad-like program. A simple text editor is all I
need written with win32 API not MFC or VCL. I've checked PSC
but there is nothing that is win32 and non-MFC.
Thanks for any help.
Bababooey
Tatatoothy
Mamamonkey
-
Jan 24th, 2002, 12:30 PM
#2
You could write it yourself. The windows editor is an extremely simple program. It uses a multiline edit control that is automatically resized to the client area during WM_SIZE. Copy, paste, undo etc are simply forwarded to the edit control. The most complicated thing is loading/saving and printing. File operations are performed using the common file dialogs and whatever you want (editor probably uses the CreateFile family). Printing also uses the common dialogs. I don't know how exactly the printing is performed.
If you look up the edit control in the platform SDK documentation you'll find a nearly complete WndProc you can use.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|