i want a windows mdi application example in fasm. anyone can help me? thanks!
my email: steven_yi@msn.com
my email: steven_yi@msn.com
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.
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.
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?
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?
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.
Bye,
Bye,
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.
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.