flat assembler
Message board for the users of flat assembler.

Index > Windows > MDIRichEditor

Goto page 1, 2, 3  Next
Author
Thread Post new topic Reply to topic
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi FASM Coders!

I tried to find MDI RichEditor written in masm or fasm on the web but I couldn't, so I spent some time and wrote one and decided to share it with you.

Here is the source code, I hope you like it!

Anny suggestion or addition welcome

EDITED:
Here is coff version which you can debug at the source level with WinDbg thanks to strap98 and his excellent tool PECVT.EXE
The top one is MS COFF and the bottom one is PE GUI


Description:
Download
Filename: MDIRichEditFasmCOFF.zip
Filesize: 277.17 KB
Downloaded: 73 Time(s)

Description:
Download
Filename: MDIRichEditFasm.zip
Filesize: 120.82 KB
Downloaded: 142 Time(s)


_________________
down under


Last edited by habran on 14 Mar 2009, 13:23; edited 44 times in total
Post 31 Aug 2008, 01:05
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Very nice, thanks Smile
Post 31 Aug 2008, 01:28
View user's profile Send private message Reply with quote
Yardman



Joined: 12 Apr 2005
Posts: 245
Location: US
Yardman
[ Post removed by author. ]


Last edited by Yardman on 04 Apr 2012, 03:36; edited 1 time in total
Post 31 Aug 2008, 02:39
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Thanks, I am glad you like it.

Yardman, It is not hard to do support for the plain text format.
I made only a skeleton for MDIRichEditor. It needs fine tuning and I'll do it later. I thought If I'd done everything it wouldn't be interesting for you.
You are right, it was hard work for me and it took me almost a year to put it together, because I had to study a lot of programs to find out how to do it.
This is my first assembly program for Windows (I was Commodore64 and Mac user before)

_________________
down under
Post 31 Aug 2008, 09:17
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, everyone!

I have uploaded the new version with fixed bugs and a support for plain text

thank you all for your interest and support

regards

_________________
down under
Post 09 Sep 2008, 01:22
View user's profile Send private message Reply with quote
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36
Hello habran! The new version doesn't work for me (WinXP 32 Bit SP2): when opening old files (of any extension), no characters get displayed unless i type some.
Post 09 Sep 2008, 06:55
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, kasake36!
Sorry I have left one line of code to much!

Fixed and uploaded!

This version works fine on Vista but resizing has some problems on XP2
I will look at it as soon I have time

regards

_________________
down under
Post 09 Sep 2008, 22:07
View user's profile Send private message Reply with quote
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36
Cool, thanks for this program!
Post 10 Sep 2008, 06:44
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, again!

I think I have fixed problem with resizing so please download it again
and test it on your computers

thank you all on your patient and interest

regards

_________________
down under
Post 10 Sep 2008, 12:40
View user's profile Send private message Reply with quote
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36
Hello habran; i can't find problems when resizing either the main window, nor the inner windows.
Post 11 Sep 2008, 06:11
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, kasake36!

There is a problem if you hide status bar an try to resize window

But this new version is working fine so please download it again.

There are still left some bugs which I will fix tonight

regards
Post 11 Sep 2008, 07:53
View user's profile Send private message Reply with quote
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36
Ah! Yes, everything is working fine with your freshest version when resizing the window!
Post 11 Sep 2008, 10:41
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Thanks kasake36
Post 11 Sep 2008, 22:08
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, everyone!

I have uploaded new version wit less bugs

regards
Post 15 Sep 2008, 23:35
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, everyone!

I have uploaded new version again

regards
Post 19 Sep 2008, 00:55
View user's profile Send private message Reply with quote
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36
Hello habran!

Just downloaded the new version since i have to create an rtf file. If you would like to expand your editor, which i'm by the way using as default rtf-editor by now, those would be some wishes of mine:

- automatic recognition of the file type when creating a new document. I have pasted some stuff (just text) and formated it, then when saving the file i have to add the extension rtf to save the formatings.
It would be great if the editor recognises this automatically, either text or rtf.

- It would be fine to have export-plugins. For instance i have to export my rtf files into this trendy pdf-format. I dont know why, since all serious text-programms support rtf, but people want pdf files....

- I really like the idea that text can be formated via shortcuts only, no need to click around. But i'm missing two shortcuts: CTRL+W for closing opened document and CTRL+Q to quit the application.

- Drag'n'Dropping files into the app.

- When opening files (CTRL+O) it would be great if the default would be "All Files" instead of "Text files", since it supports many file-types.

- Bug when marking some text and pressing CTRL+I...

Greetings,
Kasake
Post 26 Sep 2008, 07:01
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, kasake36!

Thank you for your suggestions and ideas

Some of things are easy to fix, like shortcuts, but export-plugins for pdf
are not. For now I am still working on the design features which I will like to add. I will look at export-plugins as soon as I am happy with design

You have the source code and if you can add some features by yourself I would appreciate it

regards
Post 27 Sep 2008, 10:01
View user's profile Send private message Reply with quote
kasake36



Joined: 28 Mar 2006
Posts: 68
kasake36
Hello habran! I would like to do the PDF-Export, since i'm forced to take a look into the file-format already. I'll send you a message when done, but don't expect it too early.
Post 30 Sep 2008, 13:10
View user's profile Send private message Reply with quote
habran



Joined: 31 Aug 2008
Posts: 82
Location: South Australia
habran
Hi, kasake36!

I am glad to hear that and looking forward
take your time

regards
Post 30 Sep 2008, 22:30
View user's profile Send private message Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1288
Location: Paradise Falls
Picnic
Hello habran,
Nice interface, thanks for sharing your code.

Adding an empty WM_ERASEBKGND event on ChildProc reduce flickering when resizing.
Post 04 Oct 2008, 12:12
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2, 3  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.