i have a window with a button on it. when the button is pressed it creates a modal window. the problem im having is that when i close the modal window while the window is completely inside my main window, my main window hides. this problem does not occur when i close the modal window when it is partially on my main window or completely off of it. also is there an easier method to create a modal window instead of the way ive coded it?
also to reproduce my problem you will need to have another application maximized behind my test application. otherwise my main window wont hide/move behind the maximized app.
also to reproduce my problem you will need to have another application maximized behind my test application. otherwise my main window wont hide/move behind the maximized app.
Your code works fine for me here (Win2k Pro version). I was going to try and
do some debugging on it but since I cant duplicate the problem.... =)
do some debugging on it but since I cant duplicate the problem.... =)
when i close the modal window while the window is completely inside my main window, my main window hides.
Hi smurf
It works fine here (WinXP). It doesn't hide, while closing the modal dialog :)
regards,
The SharK
im using winxp and i still can reproduce my problem. sometimes it will reproduce but ive noticed a few instances where it works like it should. thanks for testing.
after invoke ExitProcess,eax
should u add this?
invoke InitCommonControls
im not fully understand
should u add this?
invoke InitCommonControls
im not fully understand
after invoke ExitProcess,eax
should u add this?
invoke InitCommonControls
im not fully understand
should u add this?
invoke InitCommonControls
im not fully understand
that was not suppose to be there. i had other controls on my window at one point. that line can be deleted.
invoke InitCommonControls