![]() |
|
Child Windows in Allegro 5 |
DamienBlack
Member #12,118
July 2010
|
I've noticed that when I create multiple windows using al_create_display() that each of them has their own presence on the taskbar (I'm using Windows XP and Vista). Now if I'm just creating dialog windows or some such, it seems silly for each of them to have their own presence on the taskbar. If I'm creating a complex interface and I'm using separate displays for each element there could be 5 or 6 windows floating around at once which would flood the taskbar. Other GUI interfaced I've played with have the concept of "child windows", which are windows that "belong" to another window, and so don't have their own presence. (For example you can't alt-tab to a child window, only the parent.) So my question is this: Does Allegro 5 have some equivalent child system for displays that I'm overlooking? If it doesn't, is there some way to at least suppress a window's taskbar presence? Hopefully the question makes sense, let me know if you need clarification. Thanks in advance, |
Elias
Member #358
May 2000
|
There's no (platform-independent) way right now, but I think there should be. The API could just be al_set_new_display_flags (ALLEGRO_NO_TASKBAR). In X11 it's very easy to implement, just include _NET_WM_STATE_SKIP_TASKBAR in _NET_WM_STATE. -- |
|