K I'll make this short and simple and easy to understand.. My question is that can Simba set GUI parents..
In c++ it would be the equivalent of:
What the above does is it will set smart as the parent to the console window.. now u can do this with GUI's aswell (SmartChat was an example that I helped make).. You get the handle to the GUI and then set Smart as the parent and the co-ordinates of where the GUI will be place on the parent window..Code:#include <Windows.h> #include <iostream> #define REPEAT do{ #define UNTIL( condition ) }while(!(condition)); #define _WIN32_WINNT 0x0500 int main() { HWND console = GetConsoleWindow(); HWND Smart; REPEAT Smart = FindWindow("SunAwtFrame", "Public SMARTv6.6 - SMART Minimizing Autoing Resource Thing - By BenLand100"); UNTIL(Smart != 0); if(Smart != 0) { SetParent(console, Smart); } return 0; }
Can Simba do this?? You make a form in simba, get the handle.. and set the parent to the form as smart? This will allow for clickable GUI's and progress reports directly on smart itself..
Possible? Or No? :c If no, whats stopping it and is there anything we can do to make it possible?







Reply With Quote


















