i want a windows mdi application example in fasm. anyone can help me? thanks!

my email: steven_yi@msn.com
Posted on 2003-03-20 00:19:05 by solar
I don't know of an example in fasm but Iczelion has an example in his tutorial package. I shouldn't be difficult to convert to fasm.
Posted on 2003-03-20 05:19:40 by Odyssey
You can look in this thread: http://www.asmcommunity.net/board/index.php?topic=9357 to get the sources of old Assembler Workplace, which was a MDI application.
Posted on 2003-03-20 08:23:41 by Tomasz Grysztar
thank you!

now i have a problem with mdi. i made a very simple mdi program which has only a main frame window,a client window and a empty clild window. the child window seems function well that can be minimized,maxmized,closed... but there's one thing strange: the child window keeps updating(redrawing) while the frame window's size is changing. i've checked mdi programs in fasm and mfc,neither is like my program. what's the most possible reason?
Posted on 2003-03-21 10:35:23 by solar
When you register the MDI Frame window class, don't use the CS_VREDRAW nor CS_HREDRAW class style flags. This works for me. I also recommend you to process the WM_SIZE message, get the status and toolbar rect (when you add them) and resize the client accordingly.

Posted on 2003-03-21 13:39:09 by El_Choni
i'll try it later. but i found this way works: when register mdi frame window class,specify the hbrBackground of WNDCLASSEX with a NULL value.
Posted on 2003-03-21 23:33:34 by solar
I'va heard of that thick before, but I think that could give you redrawing problems with toolbar redrawing in Windows XP (I have W98, so can can't check it). You'll tell.
Posted on 2003-03-22 10:35:57 by El_Choni