August 9th, 2003, 11:09 PM
making a text editor
anybody who knows where to find tutorials on or knows how to make a simple text editor like notepad, please send me a link or tell me.
all i need to know is basically how to make something that looks like notepad, where i can type on a white screen with that notepad style interface, i dont need to know how to make any of the notepad features like format and view, dont even need to know how to save
Last edited by FHCandyman; August 9th, 2003 at 11:11 PM.
August 9th, 2003, 11:12 PM
With visual c++, you only have to make about 6 clicks with your mouse to get a fully functioning text editor.
Last edited by 7stud; August 9th, 2003 at 11:15 PM.
August 9th, 2003, 11:22 PM
well yes, i know that, but im using dev-c++ thus have to code it.
August 10th, 2003, 12:22 AM
you just make a window with a big Editbox (textbox) on it, and to save, you output the text in the Editbox to file, that's about it, for a very very primitive text editor.
I think CreateWindowEx() is too tedious, I suggest you look for a Visual Dialog Editor or something, they have free ones, that let you edit Dialog's visually, the dialog's are stored as resources, you can use them as your main window.
August 10th, 2003, 12:47 AM
well thanks for the tutorial, but heres where im at, im a newbie programmer learning C++ and i want to practice programming apps in C++. so im not looking for anything to make the job quicker or easier, just simple C++ to practice. also this is in the interest of my one friend, so im looking for tutorials to give to him too.
August 10th, 2003, 04:50 AM
August 10th, 2003, 06:25 AM
"well thanks for the tutorial, but heres where im at, im a newbie programmer learning C++"
Then you probably shouldn't be trying to do what your doing, which is called "windows programming", just yet. You should try to learn C++ first. Windows programming usually involves reading through a 1500 page book learning about all the windows functions(do you even know how to program with functions at this stage?)
August 10th, 2003, 09:38 AM
oh yeah, i forgot that part. i have read through(well, half of) Sams Teach yourself C++ in 21 days, and want to start practicing this type of stuff soon. This is mainly for my friend, and just as reference for me. personally right now im at some advanced functions, just before arrays and that, and then i'll be getting into graphical stuff. I didnt mean i was newbie newbie. I'm just new to windows programming. Sorry for the confusion.
August 10th, 2003, 09:40 AM
and i hope i didnt sound like that tutorial wasnt helpful, thats quite the opposite. that tutorial has tremendously helped me understand windows programming better and thanks to the person who sent that. i am now looking at the other tutorials posted.
Those are very good tutorials! Just what I needed. Thanks a lot (well not exactly what i needed, but a simple text editor shouldnt be too hard to figure out from that )
Last edited by FHCandyman; August 10th, 2003 at 09:42 AM.