Ok so I have this code below, I want to be able to hide the windows in the beginning then unhide them so that If a user chooses to enrypt it will unhide the encryption window. I'm lost at how to do it.
Ok so I have this code below, I want to be able to hide the windows in the beginning then unhide them so that If a user chooses to enrypt it will unhide the encryption window. I'm lost at how to do it.
Does anyone know how to use child windows? How would I hide them when I create them, then make them visible?
It seems that with my code, they overlapp each other, but what I want to do is when the user makes a choice on the main window, change to the corresponding child window.
Last edited by JoshR; 07-30-2005 at 11:01 AM.
Try this, create the child window, then call the function ShowWindow and for the second argument pass SW_HIDE, then when you want it shown call ShowWindow again and pass SW_SHOW as the second argument. I never tried this with child windows but they are still windows so it should work, if not let me know.
Trinity: "Neo... nobody has ever done this before."
Neo: "That's why it's going to work."
c9915ec6c1f3b876ddf38514adbb94f0
Thanks a bunch, I actually thought about using it, but I guess I forgot or passed it up or something...