flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 10 Aug 2004, 11:24
Well, at the end I managed to finish the changes in visual form editor. Now it is able to cut/copy/paste/delete the controls from the forms.
For developement team and volunteers: Please, test it more widely, because I am intended to make this release the next official pre-alpha, after some bug fixes. Download Fresh 1.1.7 work here: http://fresh.flatassembler.net/x2download.html Regards Last edited by JohnFound on 17 Aug 2004, 14:41; edited 1 time in total |
|||
![]() |
|
JohnFound 10 Aug 2004, 11:50
Tommy wrote: 1) Copy edit control in VisualPad and paste so it appears inside the original edit... The paste target is the current selected control in the form, so it is normal. Just unselect the edit, before paste and all should be OK. (the new edit will appear above the old one. You should drag it manually). Hm, maybe the behaviour is not so clear here... any sugestions? Quote: Right click and the popup menu appears... You can delete the selected controls using main Fresh menu "Edit|Delete" or using Ctrl+Del keystroke. Popup menu for Form editor with advanced editing functions will be added later. Quote: 2) Compiling the project thrice crashes Fresh... (I will try to dump the memory and registers here...) Probably memory leaks in NT/2000/XP. I will try to use MemProof to clear them. But the address of crash will be usefull also. Thanks Tommy. Regards. |
|||
![]() |
|
Tommy 10 Aug 2004, 13:09
Quote: The paste target is the current selected control in the form, so it is normal. Just unselect the edit, before paste and all should be OK. (the new edit will appear above the old one. You should drag it manually). ![]() Quote: You can delete the selected controls using main Fresh menu "Edit|Delete" or using Ctrl+Del keystroke. ![]() Quote: Popup menu for Form editor with advanced editing functions will be added later. ![]() Quote: But the address of crash will be usefull also. ![]() |
|||
![]() |
|
Tommy 10 Aug 2004, 13:12
The bug appears here:
Code: 004013C8 8B07 MOV EAX,DWORD PTR DS:[EDI] EAX 00000000 ECX 08A1FF04 EDX 00000000 EBX 00000775 ESP 08A1FF7C EBP 08A1FF88 ESI 08D4E530 EDI 0001D860 EIP 004013C8 ![]() |
|||
![]() |
|
decard 10 Aug 2004, 15:47
Hi John,
I didn't notice any problems on my system. My opinion about form editor's behaviour (actually a small details): - why ctr+del deletes a control? IMO it would be simpler to remove components with "delete" only. - when you can pick and move a component, a cross cursor appears. What about changing this cursor to default Windows' move cursor? And one more question: why winprocs dont have any arguments declared? Where did they come? ![]() keep up the great work! regards |
|||
![]() |
|
JohnFound 10 Aug 2004, 16:00
Hi, Decard.
decard wrote: I didn't notice any problems on my system. There are definately some memory leaks. I will fix them tonight in Win2000 - Win89 forgives us almost everything... ![]() Quote: why ctr+del deletes a control? IMO it would be simpler to remove components with "delete" only. There is no "Undo" for graphic editor. Maybe when I managed to make it (not very high priority) I will leave it simply to Del. Quote: What about changing this cursor to default Windows' move cursor? Hm, what cursor you mean actually here? Maybe I am wrong, but there is no standard move cursor. Of course it is not a problem to insert some cursor in resources... Quote: why winprocs dont have any arguments declared? Where did they come? Well, I decided to make them "by default". Actually there is no different arguments for window procedures in whole Fresh... The names are: ".hwnd", ".wmsg", ".wparam" and ".lparam". I know that this decision can harm the readability of the source code, but window procedures are so common object in windows programming, that everyone must know the arguments... ![]() |
|||
![]() |
|
decard 10 Aug 2004, 19:04
JohnFound wrote:
see attachement ![]() |
|||
![]() |
|
JohnFound 10 Aug 2004, 19:51
decard wrote: see attachement What constant for LoadCursor. Everything I found is: Win32.hlp wrote: IDC_SIZE Windows NT only: Four-pointed arrow Regards |
|||
![]() |
|
decard 10 Aug 2004, 20:12
MSDN says that IDC_SIZE is now obsolete (and specifing this constant doesn't work on my 98SE). But IDC_SIZEALL is OK. Actually this constant is missing in our current user32.inc, but just add there "IDC_SIZEALL = 32646", and it will work.
|
|||
![]() |
|
JohnFound 10 Aug 2004, 20:50
decard wrote: ...but just add there "IDC_SIZEALL = 32646", and it will work. Added, works, thank you... ![]() ![]() Regards. |
|||
![]() |
|
coconut 10 Aug 2004, 22:30
fresh crashed while moving a checkbox around winxp sp1
|
|||
![]() |
|
JohnFound 10 Aug 2004, 23:18
OK, I think I fixed both - "crash on compile" - it was uninitialized structure field problem, and "crash on move new controls" - different behaviour of DrawText - instead of returning error, in Win2000 it crashes the application on wrong arguments. Who said Win2000 is more stable???
![]() I will upload the fixed version after several minutes. Regards. |
|||
![]() |
|
decard 11 Aug 2004, 18:01
JohnFound wrote:
actually when I tried to recompile some my project I found that this solution isn't a goog idea. It's just because my params arent ".hwnd", ".wmsg", but ".hWnd" and ".uMsg"... I think that this proc should not make programmers give fixed name to winproc's parameters. regards |
|||
![]() |
|
JohnFound 11 Aug 2004, 18:37
decard wrote: I think that this proc should not make programmers give fixed name to winproc's parameters. You are absolutely right. For the official release I will make the arguments for "winproc" simply optional. Regards. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.