Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » How to set window shape by means of a bitmap?
Re: How to set window shape by means of a bitmap? [message #2891 is a reply to message #2890] Sat, 29 April 2006 10:30 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
gprentice wrote on Sat, 29 April 2006 09:20

fudadmin wrote on Sat, 29 April 2006 20:07

gprentice wrote



Um, well no, I've never seem Winamp but I remembered Windows media player has a weird shape in skins mode ... so I looked up "nonrectangular windows"
http://www.xploiter.com/programming/c/borland/2927.html

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();
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: what is the situation with MDI and Dock widget in U++?
Next Topic: ColumnList question (sort column)
Goto Forum:
  


Current Time: Wed Jun 12 22:03:48 CEST 2024

Total time taken to generate the page: 0.02213 seconds