Currently Active Window
BlitzMax Forums/MaxGUI Module/Currently Active Window
| ||
I'm not exactly clear on how to get the active window. I have a program with multiple project windows and I need to know exactly which one is active so when the Save command is hit on the menu, it will save that particular window. |
| ||
I don't know if there's a function for this, but you could cycle all your windows, checking them individually. |
| ||
Not tested, but something like...Local tmpGadget:TGadget = ActiveGadget() While tmpGadget And GadgetClass(tmpGadget) <> GADGET_WINDOW tmpGadget = GadgetGroup(tmpGadget) Wend...might work? |