transparency

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Aug 2006
Posts: 254
Reputation: jan1024188 is an unknown quantity at this point 
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

transparency

 
0
  #1
Apr 1st, 2007
Hello,

I wanna know if there is any way to make a window transparent using Win32 API


Thanks in advance,


Jan
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,275
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: transparency

 
0
  #2
Apr 1st, 2007
No offence kiddo, but I think you should try vb.net or c#. Changing transparency is as easy as clicking a control in the menu.

see

If you want to do it the hard way perhaps this.
Last edited by iamthwee; Apr 1st, 2007 at 11:24 am.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster
Join Date: Aug 2006
Posts: 254
Reputation: jan1024188 is an unknown quantity at this point 
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Re: transparency

 
0
  #4
Apr 1st, 2007
no thanks, VB sucks

Is C# better than Win32 API?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,275
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: transparency

 
0
  #5
Apr 1st, 2007
Originally Posted by jan1024188 View Post
no thanks, VB sucks

Is C# better than Win32 API?
LOL, depends, as you might already know vb.net and c# sit on a framework. So it won't be as fast as win32.

dotnet is used by many professionals these days. If you want to design rapid GUI applications for windows, with the least amount of hassle dotnet is for you.

There is also java (GUI) as well, which you can use on linux mac and windows operating systems. I assume dotnet will follow suit (mono project etc), it's just java has had a massive head start.
Last edited by iamthwee; Apr 1st, 2007 at 12:09 pm.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,131
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 283
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: transparency

 
0
  #6
Apr 1st, 2007
Originally Posted by jan1024188 View Post
Hello,

I wanna know if there is any way to make a window transparent using Win32 API


Thanks in advance,


Jan
I see lots of possible answers putting the important parts of your question in google...
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: transparency

 
0
  #7
Apr 2nd, 2007
You could make it really transparent by not drawing it at all :p
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 254
Reputation: jan1024188 is an unknown quantity at this point 
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Re: transparency

 
0
  #8
Apr 2nd, 2007
Originally Posted by Salem View Post
You could make it really transparent by not drawing it at all :p
lol, no

Em..one more question about C#.

I know you need a framework installed for using C# apps, but Id still like to ask something what might sound stupid.

Are many of "modern" applications writen in C (WinAPI) or C#?

And about DirectX 10. Will be supported by C# or WinAPI?

What about Vista...

Are many of Vista apps written in C#?

BTW: I tried Java alredy, but I dont like it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,275
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: transparency

 
0
  #9
Apr 2nd, 2007
Well it all depends what you want to do. Remember there is no black and white answer, only shades of gray.

You can't expect to choose one and hope to everything with it.

Each has their pros and cons.

>Are many of Vista apps written in C#?

I'd imagine vista plans to integrate dotnet very closely, more likely dotnet 3.0 now.

>And about DirectX 10. Will be supported by C# or WinAPI?

When it comes to 3d stuff, although c# has it's 3d libraries I still think the native stuff is best. I.e win32 and or c++.
Last edited by iamthwee; Apr 2nd, 2007 at 5:05 pm.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 254
Reputation: jan1024188 is an unknown quantity at this point 
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Re: transparency

 
0
  #10
Apr 3rd, 2007
yes I see...

Thank you very much...

Im sure I will continue working with C++ and WinAPI
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 1965 | Replies: 9
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC