flat assembler
Message board for the users of flat assembler.
Index
> Windows > Need your Help, to DialogBox Editor for FASM |
Author |
|
oveja 06 Apr 2006, 22:23
Now, I'm make a Tiny DialogBox Editor, but need your help, I want make:
1- Solve a Bug --> The Coordinates (Left,Right, Top, Bottom) of every control and DialogBox no agree with Real Coordinates of Screen, I do'n know why. 2- Convert this program MDI to SDI 3- Improved this with more thinks for editing. 4- Add more controls. This Code is yours, and I try make this code easy for your understanding You can Download it with this Link www.geocities.com/ppvision/editdlg.zip Viva el Assembly!!!!
|
|||||||||||
06 Apr 2006, 22:23 |
|
OzzY 07 Apr 2006, 17:47
Nice work dude!
I was thinking about creating such project. (in fact, it was really a converter, not designer) See: http://board.flatassembler.net/topic.php?t=4776 I think we could move this thread to "Projects and Ideas" and make this project get bigger with the help of all FASM users. We could have some weekly snapshot or something to show the progress. Later it could be integrated in FasmW and Fresh by add a menu item to call the program. What do you people think? |
|||
07 Apr 2006, 17:47 |
|
oveja 07 Apr 2006, 20:00
With Test and Error( A prueba y error), found that coordinate X relative to DialogBox is 1.5 to coordenate X relative of Screen, And the coordinate Y relative to DialogBox is 1.625 to coordenate Y of Screen, that is:
Coordenate_Dialog_X = (Coordenate_Screen_X)/ 1.5 Code: proc coordenate_x, x push edx ecx xor edx,edx mov eax,[x] shl eax,1 mov ecx,3 div ecx pop ecx edx ret endp Coordenate_Dialog_Y = (Coordenate_Screen_Y)/ 1.625 Code: proc coordenate_y, y push edx ecx xor edx,edx mov eax,[y] shl eax,3 mov ecx,0x0d div ecx pop ecx edx ret endp Quote: 2) ...sorry I don't know what it means... First, Thanks Madis731 for your contribution, I want means that my program MDI (Multiple Document Interface) convert it to SDI(Single Document Interface), that is, In MDI layout is easy programming MultiWindow, but I do'n know how to programming MultiWindow with SDI, someone know? In this thread JohnFound wrote that MDI layout as better as SDI layout, and for me is better in behavior for design http://board.flatassembler.net/topic.php?t=2537 Quote: I think we could move this thread to "Projects and Ideas" and make this project get bigger with the help of all FASM users. Ozzy You are right!
|
|||||||||||
07 Apr 2006, 20:00 |
|
comrade 08 Apr 2006, 05:25
Dialog units are not in pixels. Use GetDeviceCaps or MapDialogRect to convert dialog units into pixels, or vice versa.
|
|||
08 Apr 2006, 05:25 |
|
comrade 08 Apr 2006, 05:26
And GetDialogBaseUnits.
|
|||
08 Apr 2006, 05:26 |
|
comrade 08 Apr 2006, 05:28
Bueno trabajando, oveja.
Viva Mexico, Viva Colombia, Viva Shakira! |
|||
08 Apr 2006, 05:28 |
|
oveja 08 Apr 2006, 15:34
Thanks Comrade, this is that I looking for(Esto es lo que buscaba)
Viva Russia & Assembly |
|||
08 Apr 2006, 15:34 |
|
oveja 08 Apr 2006, 19:32
Check new Thread on Projects & Ideas! in this place I continue with project "Tiny DialogBox Editor"
Good Bless you!! |
|||
08 Apr 2006, 19:32 |
|
black_pig 11 Nov 2008, 21:25
Madis731 wrote:
view image: The option on the left is the MDI. You'll notice that, in this mode, the application itself is made up of one main window and all the sub-windows are contained within it. Most recent apps allow you to customize this layout and dock the sub-windows to the edges of the application's main window. The option on the right is the SDI. There is no containing window and, as a result, there is no background to the application itself. The windows just float around and can be moved independently, but there's nothing containing or connecting them. [/img][img][/img]
|
||||||||||
11 Nov 2008, 21:25 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.