473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Icons with alpha channel and MFC

Hi i have VS .NET 2002 and want to display icon with alpha channel on a
dialog (using MFC)

I get no transparency but anything that is less visible than 100% gets
black. any ideas?
thanx for answer
Jul 22 '05 #1
5 2643
myself wrote:
Hi i have VS .NET 2002 and want to display icon with alpha channel on a
dialog (using MFC)

I get no transparency but anything that is less visible than 100% gets
black. any ideas?


For the love of [pick a diety], why are you using MFC on a .NET platform?
Either use the new WinForms system, or use WTL.

And post questions like these to on-topic newsgroups, like the MSDN managed
ones, so you won't get off-topic answers.

There, you'll find plenty of people who love MFC. This is called the
"Stockholm Syndrom".

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #2

Użytkownik "Phlip" <ph*******@yahoo.com> napisał w wiadomości
news:eY*****************@newssvr33.news.prodigy.co m...
myself wrote:
Hi i have VS .NET 2002 and want to display icon with alpha channel on a
dialog (using MFC)

I get no transparency but anything that is less visible than 100% gets
black. any ideas?
For the love of [pick a diety], why are you using MFC on a .NET platform?
Either use the new WinForms system, or use WTL.

And post questions like these to on-topic newsgroups, like the MSDN

managed ones, so you won't get off-topic answers.

There, you'll find plenty of people who love MFC. This is called the
"Stockholm Syndrom".


I dont love MFC. .NET is just too big for my small tool application
(bandwidth usage monitor). Anyway I think .Net is too unstable and
underdevelopped to do more than webpages with it ;)

Why people call it "Stockholm Syndrom"??
Jul 22 '05 #3
On Fri, 16 Jul 2004 18:08:15 +0200, myself <ps*****@wp.pl> wrote:

Użytkownik "Phlip" <ph*******@yahoo.com> napisał w wiadomości
news:eY*****************@newssvr33.news.prodigy.co m...
myself wrote:
> Hi i have VS .NET 2002 and want to display icon with alpha channel on

a
> dialog (using MFC)
>
> I get no transparency but anything that is less visible than 100% gets
> black. any ideas?


For the love of [pick a diety], why are you using MFC on a .NET
platform?
Either use the new WinForms system, or use WTL.

And post questions like these to on-topic newsgroups, like the MSDN

managed
ones, so you won't get off-topic answers.

There, you'll find plenty of people who love MFC. This is called the
"Stockholm Syndrom".


I dont love MFC. .NET is just too big for my small tool application
(bandwidth usage monitor). Anyway I think .Net is too unstable and
underdevelopped to do more than webpages with it ;)

Why people call it "Stockholm Syndrom"??


The Stockholm Syndrome is when hostages start to identify with their
captors. I think Phlip was being sarcastic (but he was right on the money
IMHO).

john
Jul 22 '05 #4
myself wrote:
Użytkownik "Phlip" <ph*******@yahoo.com> napisał w wiadomości
news:eY*****************@newssvr33.news.prodigy.co m...
myself wrote:

Hi i have VS .NET 2002 and want to display icon with alpha channel on a
dialog (using MFC)

I get no transparency but anything that is less visible than 100% gets
black. any ideas?


For the love of [pick a diety], why are you using MFC on a .NET platform?
Either use the new WinForms system, or use WTL.

And post questions like these to on-topic newsgroups, like the MSDN


managed
ones, so you won't get off-topic answers.

There, you'll find plenty of people who love MFC. This is called the
"Stockholm Syndrom".

I dont love MFC. .NET is just too big for my small tool application
(bandwidth usage monitor). Anyway I think .Net is too unstable and
underdevelopped to do more than webpages with it ;)

Why people call it "Stockholm Syndrom"??


http://www.google.com responded with:
http://www.yahoodi.com/peace/stockholm.html

From: http://www.sniggle.net/stock.php
As to whether Stockholm Syndrome applies to customers of abusive
service providers (Microsoft, AOL, Blockbuster Video, etc.), I think
this is much more akin to the behavior of a battered spouse. In order to
justfy bad choices, people will often rationalize and defend their
tormentors, even to the extent of projecting the same aspects onto other
people's spouses and providers: ``Her husband really is mean to her, and
her Mac crashes just as often as my PC.''

I have noticed that people usually love their new cars for at least a
year, no matter what kind of lemon they've bought: ``Yeah, my Saturn's
been in the shop a few times, but I still believe in the concept. By the
way, have you seen my new Gateway PC?
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

Jul 22 '05 #5
myself wrote:
I dont love MFC. .NET is just too big for my small tool application
(bandwidth usage monitor). Anyway I think .Net is too unstable and
underdevelopped to do more than webpages with it ;)


C++ provides more than enough rope to shoot yourself in the foot. I can
program WTL and C++ faster than anyone in any language, with fewer bugs,
because I'm completely profficient. But I can't recommend C++ to anyone,
including me.

Our industry lives in interesting times.

If you simply must use C++, then use WTL. It has all the good bits of MFC,
but with a much smaller conceptual footprint.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sto | last post by:
look at this picture http://upload.cs99.net/e.gif i use the function SHGetFileInfo to get file icons. but these icons are not very nice. there are some black things round of the icons. many...
3
by: Bill English | last post by:
Does C# Support Alpha Channel Backgrounds? I have an image made in Photoshop, which has an alpha channel. I save it as a PNG file, then set the form's BG image to that file. Now it shows up fine...
3
by: instruo | last post by:
I'm using the System.Drawing.Bitmap class for loading a 32-bit bmp file which includes an alpha channel. The problem is, when it gets loaded (just using the Bitmap(string filename) constructor),...
2
by: Jigar Mehta | last post by:
Hye, I am Jigar Mehta, I want to ask how can we put our own 48 X 48 - 32 bit icons in the interface like near password field, I want to put Password Icon. The icons are created with Alpha support...
2
by: Allan | last post by:
I've been trying to get this to work for days. I have a form which needs to be transparent (only the form background). On the form there are two images (32 bit PNGs) with alpha channel...
1
by: Brian Henry | last post by:
Does the alpha channel show up correctly or do you have to do anything to get it to work right? thanks!
0
by: gene kelley | last post by:
I asked this question previously without response, so I'll rephrase it. I have a VB6 app which uses a third party menu/toolbar activex control. The app includes a commonly found option, "Use...
2
by: jaumef_2000 | last post by:
Hello, I'm developing a Standard Windows App and I need to deal with Icons. I've read lots of posts about them and I'm missing something. I put this code in a button click in a new brand new...
0
by: elefantos | last post by:
Hi I#m a absolut newbi to programming and want to write a programm to make transparent icons with an alpha channel in visual basic.net. I can now load a icon draw on it and save it but the alpha...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.