flat assembler
Message board for the users of flat assembler.
Index
> Windows > MDI Windows and Toolbars... |
Author |
|
madmatt 31 Jan 2007, 06:20
Here's an example that was convert to fasm from masm. This might be what your looking for. But to recompile it you'll have to download my include files from my website: http://users.egl.net/talktomatt/default.html
Last edited by madmatt on 03 Feb 2007, 06:11; edited 3 times in total |
|||||||||||
31 Jan 2007, 06:20 |
|
cod3b453 31 Jan 2007, 22:31
I can't believe I had to install DX9 for 1 API call BUT... that example program looks great thank you very much!
Now I just gotta work out ReBar's... Thanks again! |
|||
31 Jan 2007, 22:31 |
|
madmatt 31 Jan 2007, 22:40
Woooops! Sorry about that, i've reposted it without the dx9 stuff, which is my personal library for graphics and stuff. It now uses just standard win32 calls.
|
|||
31 Jan 2007, 22:40 |
|
rugxulo 01 Feb 2007, 01:52
FYI for all you PC gamers, Atari: 80 Games comes w/ DirectX 9.0b on the CD-ROM (last I checked, and it's quite awesome, too!).
If you have a really slow connection (e.g., 56k), you might be better off just buying this (quite cheap nowadays!). |
|||
01 Feb 2007, 01:52 |
|
asmfan 01 Feb 2007, 16:23
madmatt there is one critical bug in your example - when you handle
Code: .elseif [wParam] = 1804 It shoul be like this to not to hang when there's no childs correct Code: .elseif [wParam] = 1804 mov eax, 1 .while eax <> 0 invoke SendMessage, [hClient], WM_MDIGETACTIVE, 0, 0 .if eax, ne, 0 push eax invoke SendMessage, [hClient], WM_MDIDESTROY, eax, 0 pop eax .endif .endw _________________ Any offers? |
|||
01 Feb 2007, 16:23 |
|
madmatt 02 Feb 2007, 07:50
Yeh, thanks asmfan. Also corrected small problem with the menu text. New version posted above.
|
|||
02 Feb 2007, 07:50 |
|
asmfan 02 Feb 2007, 16:00
yep, still bug
Code: .elseif [wParam] = 1804 mov eax, 0 .while eax <> 0 you never enter the loop) Code: mov eax, 1 is better) _________________ Any offers? |
|||
02 Feb 2007, 16:00 |
|
madmatt 03 Feb 2007, 06:09
asmfan: thanks, again
Well hopefully, truly, fixed this time . I removed the loop and now deletes one window at a time. |
|||
03 Feb 2007, 06:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.