Creating a BMax default style window with MaxGUI?
BlitzMax Forums/MaxGUI Module/Creating a BMax default style window with MaxGUI?
| ||
Is it possible to create a window that acts like a normal BMax one, i.e. one that works in an identical manner without the need to use wait events to get keyboard input and so on with the added benefit of a minimize and maximise button hence why I need to use MaxGUI. This is the only extra functionality that I need but it seems that I have to rework all of my keyboard input, screen updating code etc... to be able to use MaxGUI windows. Is this correct or am I missing something? Maybe another option is available? Thanks for any help, Jason. |
| ||
Just call EnablePolledInput(), and the normal Max2D keyboard commands should work. |
| ||
I`ve seen this command mentioned before but it doesn`t seem to highlight\register in the IDE (BMax.133) like the other GUI commands do. It is also not listed in the help files. I`m pretty sure that this is the command that I am looking for so I`m not sure why I cannot use it? Any ideas? Jason. |
| ||
If you're using Framework, you may need to import brl.polledinput. maybe this code helps you a bit: |
| ||
OK, I`ve got it now, thanks for the help both of you :) Jason. |