where you create an elliptic region. I do not know how you would convert a bitmap into an elliptic region.
Graeme
I know quite well how to make those things with Windows API. But I was just wondering if Ultimate++ has these kind of cross-platform capabilities like other toolkits have...
where you create an elliptic region. I do not know how you would convert a bitmap into an elliptic region.
Graeme
I know quite well how to make those things with Windows API. But I was just wondering if Ultimate++ has these kind of cross-platform capabilities like other toolkits have...
Then you already knew the answer ...
BTW - which other toolkits can do what you asked, which was ... "How to set window shape by means of a bitmap?"
where you create an elliptic region. I do not know how you would convert a bitmap into an elliptic region.
Graeme
I know quite well how to make those things with Windows API. But I was just wondering if Ultimate++ has these kind of cross-platform capabilities like other toolkits have...
1. Then you already knew the answer ...
2. BTW - which other toolkits can do what you asked, which was ... "How to set window shape by means of a bitmap?"
1. I didn't know the anwser. And I'm still thinking that there is
a possibility to use popup.
2. At least FOX:
from FXWindow.h
/// Set window shape by means of region
virtual void setShape(const FXRegion& region);
/// Set window shape by means of bitmap
virtual void setShape(FXBitmap* bitmap);
/// Set window shape by means of icon
virtual void setShape(FXIcon* icon);
/// Clear window shape
virtual void clearShape();
/// Raise this window to the top of the stacking order
virtual void raise();
Yes, using popup is the right way, however unportable (popups act differently in linux - they can be just in foreground).
Mirek
Any plans to improve Popup or TopWindow behaviour?
Just to make it clear, in standard X11, you cannot have "decoration-less" window that would allow user to make other window active. This is X11 feature and there is little that can be done with it.
I will explore "XShape" extension (used by that FX function), perhaps that is the way...