View Full Version: Not Notepad v1.0

C++ Learning Community > C++ Creations > Not Notepad v1.0


Title: Not Notepad v1.0
Description: my notepa type editor :P


Jossh - October 7, 2003 10:59 PM (GMT)
Download(might need to right-click saveas) Well i've been working on this for like 2 weeks jus messing around seing that i could do with win32 api. Leave some comments about what you like, and what you dont so i can improve it. Thanks!

Dragon - October 8, 2003 12:00 AM (GMT)
It looks very nice. It's kind of like my Dragon Text Editor except with a better toolbar. How did you make the flat buttons on the toolbar?

Jossh - October 8, 2003 12:02 AM (GMT)
Glad you asked most people dont know how to do this so i'll show you my toolbar code
CODE
hTool = CreateWindowEx(0, TOOLBARCLASSNAME, NULL, WS_CHILD | WS_VISIBLE | TBSTYLE_FLAT | CCS_ADJUSTABLE | CCS_NODIVIDER, 0, 0, 0, 0,
hwnd, (HMENU)IDC_MAIN_TOOL, GetModuleHandle(NULL), NULL);

Well thats how i did it... lol the main part to make it flat is TBSTYLE_FLAT ;)

Dragon - October 8, 2003 12:10 AM (GMT)
Thanks a lot. I weren't planning on updating my text editor, but now I am. ;)

Jossh - October 8, 2003 12:13 AM (GMT)
Hehe, glad to help. I'm still gunna keep updating mine untill i'm satisfied with how it looks :P

[EDIT]
also you might need to add a line like: hbrBackground = (HBRUSH)(COLOR_BTNFACE+1); . Else the tool bar will be white.

Dragon - October 8, 2003 12:28 AM (GMT)
To what? The main window or just the toolbar? If just for the toolbar where would I place the code?

A really bad thing: I can't find my source code for my Dragon Text Editor. I guess I'll have to rewrite everything from scratch.

Jossh - October 8, 2003 12:31 AM (GMT)
Put it in your main window.

Dragon - October 8, 2003 01:04 AM (GMT)
That's what I normall do:

CODE
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);


A very good thing: I found my source for Dragon Text Editor!

Jossh - October 8, 2003 01:47 AM (GMT)
coo, i only do when i have somethign to do with buttons in the prog :P

Jossh - October 8, 2003 11:02 PM (GMT)
Guess no one else likes my editor >.> lol

shortys team - October 11, 2003 09:07 PM (GMT)
its pretty cool
you should make it so you can change the font

Jossh - October 12, 2003 05:51 PM (GMT)
Actually, i started adding that acouple days ago, ran into some bugs, but they can be fixed.

that person - October 14, 2003 05:42 PM (GMT)
That is awesome. It must have taken forever to do. The only thing that you might want to think about adding is a function that asks you if you want to save your file when you exit w/out saving it. Otherwise, that's an awesome program!

Dragon - October 23, 2003 11:18 PM (GMT)
QUOTE
That is awesome. It must have taken forever to do. The only thing that you might want to think about adding is a function that asks you if you want to save your file when you exit w/out saving it. Otherwise, that's an awesome program!


It doesn't take forever to do. :)

Jossh - October 24, 2003 12:44 AM (GMT)
Hmm i never really thoughtof it taking up much time, took under 2 weeks... alot under. Lol. Well i havnt bother to update it much since i got Blitz Plus and i wanna mess with it a bit.

RichyT - November 2, 2003 09:34 AM (GMT)
t'is cool :)
I dont know Win32 but I'm trying to learn it soon :rolleyes:

I'm used to VB, and if you pointed that at me with VB, I'd say yea... good 5 minutes work and launch a 3D MMORPG at ur face but then again... there so much diferent :D

ah well, if i wanna make anything of my lil programmin hobby I need to know sumthin else but VB :blink:

Peace

Jossh - December 14, 2003 01:23 AM (GMT)
THis project is dead, i deleted the d/l link and i also lost my source, I plan on writing a better one soon, sorry :P




* Hosted for free by InvisionFree