My first program test

Hi everybody...

I've just completed my first project and solved a big problem... So now it's totally ready for testing!!!

First of all, My small program is called "Tiny Notepad", actually I'm not good at programming, I just played some functions and variables around. The program can support edit text (Textbox), can get string from the text box object and save it into a file. Hotkeys are supported, in short you can press F1 for help, there are many options. I solved how to load and edit a long text file without affecting the program performance. Well, the first feature of this program is : It can change the Font-Face (New!!!) It can detect input changes, because I used a temporary variable (vector string). If a character input is pressed, the program will recheck the TextBox. You can select text, and color it. It also has increasing-decreasing keys, you can press and hold it to increase-decrease the size of the text. I also included "Text align" feature, but I hate the Right-align because it's not nice and may cause some crazy errors. Up to now I've fixed almost of errors, the program runs fine now however the Right-algin... OMG!!! Finally, the weird thing is... background. Load & print an image file actually is hard. The program doesn't support menu. I searched many times and now I know how to set the program background properly. (I'm learning Windows API) :) hehe...

So, the program... (a little weird, right?)

How to test : Just try all features (Press F1 for more details). Do everything that my program can support : Open file, copy, paste, edit, insert, cut, shift selected text, change size or color, align text, explore setting files, etc... to find missing languages, bugs and easily express your comments or ideas.

And try all hotkeys (Eg : Open : Ctrl + O, Save : Ctrl + S,...)

I used WaitMessage function which can freeze program when no messages are received. Say honestly I'm just a beginner, so I need your opinions, comments and suggestions to improve my programming skill. (My first Windows API product) :)

And, no need to say more. This is the program :
http://www.fileden.com/files/2012/4/13/3291462/BetaNotePad.rar

And here, my screenshots :

Screenshot everybody :

Languages Reader :
https://lh6.googleusercontent.com/-i315IWXfriE/UGL9UZ3ObMI/AAAAAAAAAFk/9SVS7PxuBWA/s550/MyProgram0.JPG


Text & Gallery
https://lh6.googleusercontent.com/-z5PWpSo2mr8/UGL9U79U3eI/AAAAAAAAAFs/ZsDQr3Ofq2Y/s550/MyProgram1.JPG
https://lh5.googleusercontent.com/-HMKohqWk6ZQ/UGL9PzKzvhI/AAAAAAAAAFc/JZaUNVuBdFU/s550/MyProgarn2.jpg

Background :
https://lh3.googleusercontent.com/-hc4XMDHMgx8/UGL9Vw2d42I/AAAAAAAAAF0/luwOV0eNy_g/s550/MyProgram3.JPG


Feedback please... What do you think?
Last edited on
My next version of the Notepad (I considered carefully about this and then I picked a few things that are great features for the next version):
My intentions :
- Multiple workspaces
- GUI
- Dialog
- Ctrl + H
- Hyperlink
- Code format
- Sound
- Music
- Video
- Menu
- Automatic background machine
Most likely some of this are impossible...:) I'll need to add some minor features and fix the remaining errors that now haven't been fixed yet...
Any idea?
Last edited on
How about the source code?
Edit: And can you move this thread to the lounge where it belongs?
Last edited on
How about the source code?

Actually, it is the project, that requires the compiling parameter /Zm500. So maybe the source is not ready, it contains some errors and actually it's quite hard to read - Perhaps I used too many pointers and function pointer links. :)
Last edited on
Any suggestion?
closed account (z05DSL3A)
Setup a github (or similar) account and share your code. You will get more out of people giving you suggestions on fixing up your code.
Last edited on
Thanks.
But, is there any method which can load and print animated GIF file properly?
Why would you want videos/sound and images in a text editor? o_o
How would you even be able to add video + sound?
Topic archived. No new replies allowed.