flat assembler
Message board for the users of flat assembler.

Index > Windows > CHILD WINDOW

Author
Thread Post new topic Reply to topic
cubeoid



Joined: 22 Jan 2007
Posts: 19
cubeoid
hi i have been looking at tuts for chid windows but im looking
for 2 windows created with createwindowex and one window is child to the other

I dont want mdi windows.
Just two ordinary windows like in the template example with fasm

THANKS IN ADVANCED Razz
Post 22 Jan 2007, 22:15
View user's profile Send private message Reply with quote
coconut



Joined: 02 Apr 2004
Posts: 326
Location: usa
coconut
one of the parameters passed to createwindowex can specify parent window. if 0 is passed, the window has no parent; it appears like a child of the desktop
Post 23 Jan 2007, 01:58
View user's profile Send private message Reply with quote
cubeoid



Joined: 22 Jan 2007
Posts: 19
cubeoid
thanks...


but what im loking for is something like the nes emulator nestreme
where you can have a debugger as a child window

thanks aagin...
but can anyone post code
Post 23 Jan 2007, 07:22
View user's profile Send private message Reply with quote
cubeoid



Joined: 22 Jan 2007
Posts: 19
cubeoid
thanks guys got this one solved now

but how do I remove minimizebox,maximizebox in the child window
and how set the size so it cant be changed

basecally i want a widow that the user can only close

Thanks again
Post 23 Jan 2007, 07:43
View user's profile Send private message Reply with quote
coconut



Joined: 02 Apr 2004
Posts: 326
Location: usa
coconut
that is set by using ws_ styles sent to createwindowex. look at the template example, it uses WS_VISIBLE+WS_DLGFRAME+WS_SYSMENU
Post 23 Jan 2007, 16:12
View user's profile Send private message Reply with quote
cubeoid



Joined: 22 Jan 2007
Posts: 19
cubeoid
could someone post some code plz??? thanks
Post 24 Jan 2007, 15:42
View user's profile Send private message 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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.