Okay, here is the problem. My program is designed to start up, as any usual program does. It has the initial window (created as usual). But instead of going to a dialog from there, I decided to work with another window, that is called and created once you hit the control button.
But the problem is when I hit the control, the new window is created and it does appear. But then if I "x" (destroy) that window, I am looking back at the main window, from initial start up. Well, here's the problem: after "x"ing (destroying) the secondary window and going back to the main window, if I hit the control to call the secondary window, then the 2nd time around the secondary window does not appear.
And also, when I call the secondary window from the main window, and I exit the whole program, there is still the "process" going on in Task Manager. The process only remains if I call the secondary window. For instance, if I start up the program in main window, and do not hit the control for the secondary window, then it is all fine. But if I start up the program, and hit the control for the secondary window then, even when the program is terminated, the process is still there in Task Manager and I have to manually terminate the process.
Any idea as to what I need to do? Do you need to see my code that creates and calls the secondary window? Do you need to see any other code?