flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Just added Fresh 1.1.5 work.

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Fresh 1.1.5 work was uploaded to the Fresh download section

There was added new styles editor for the properties editor. Now you can edit styles of the visual controls using good looking dialog with check marks.
Although not finished yet, it is usefull.
Actually this dialog is the first entirely created through visual editing. ( frmStylesEditor.frm file )

Regards.


Last edited by JohnFound on 24 Jul 2004, 19:58; edited 1 time in total
Post 16 Jul 2004, 09:57
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld
Win32 Programmer's Reference wrote:
HWND GetWindow(
HWND hWnd, // handle of original window
UINT uCmd // relationship flag
);

...

If the function succeeds, the return value is a window handle. If no window exists with the specified relationship to the specified window, the return value is NULL.


John, add marked strings to this 2 procs (form.asm) 'cause without them mainform.exe delays on startup for approximately 2 seconds on my P4-2600:

Code:
; callback procedure used in EnableAllOwnedWindows
proc _EnableOwnedProc, hwnd, owner
        begin

        invoke  GetWindow, [.hwnd], GW_OWNER
        or      eax,eax                       ; this 2 lines
        jz      .exit                         ;
        cmp     eax, [.owner]
        jne     @f
        invoke  EnableWindow, [.hwnd], TRUE
@@:
        mov     eax, 1
.exit:                                        ; this line
        return
endp


; callback procedure used in EnableAllOwnedWindows
proc _DisableOwnedProc, hwnd, owner
        begin

        invoke  GetWindow, [.hwnd], GW_OWNER
        or      eax,eax                       ; this 2 lines
        jz      .exit                         ;
        cmp     eax, [.owner]
        jne     @f
        invoke  EnableWindow, [.hwnd], FALSE
@@:
        mov     eax, 1
.exit:                                        ; this line
        return
endp    
Post 16 Jul 2004, 22:20
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Hi Mike.
Thanks for the suggestion. I will implement it. Btw: What OS you are running? Because this delay does not exists in my Win98 computer.

Regards
Post 17 Jul 2004, 05:52
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld
Hi, John!

Windows XP without any visual styles etc.
BTW if I quickly switch to another process, it unhangs

Here is a screenshot
Post 17 Jul 2004, 05:58
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
Tommy
Yes, mike.dld... I have the same problem... :S
Post 18 Jul 2004, 18:38
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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-2019, Tomasz Grysztar.

Powered by rwasa.