in reply to Server with GUI
As a first start at a solution, take the network connection code out of that package, put it in a subroutine, and make a "Connect" button to launch it. That way, your GUI will come up first, then you press the Connect button. Also be warned that you will probably need to put your network handling code in a separate thread, so the network action won't interfere with the Wx event loop.
After you get it working that way, you probably can use a Wx method to test for "visibility", before lauching your network sub with a timer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Server with GUI
by gg4000 (Novice) on May 28, 2012 at 15:50 UTC |