You shouldn't need to create the button in every window, hotkeys will work no matter where the button is created. You could create it in your main window, and it would still work in all others.
Also, the recent addition of the pgCreateWidget API function means that you can create a button widget and set its hotkey without ever placing it inside a container. On 2002.01.14 08:19 İbrahim Ülgür - Hotmail wrote: > Hi folks, > Is it possible to detect a key code from overall project. I mean I > want to detect for example emergency stop key from all windows. I > figured it out with using a zero sized button and a hot key binded it. > But it is a foolish method because the button must be used in every > window. PLEASE HELP MEEEEEEEEEEEEEEEEEEEEE. > Thank you buddies. I'm relatively fine now. > _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
