User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 426,136 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,765 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 1155 | Replies: 9 | Solved
Reply
Join Date: Aug 2006
Location: slovenia
Posts: 246
Reputation: jan1024188 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

transparency

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Posts: 4,782
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 319
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: transparency

  #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 10:24 am.
I'm not a programmer. My attitude starts with ignorance, holds steady at conversation, and ends with a trip to the hospital. Get used to it.
Reply With Quote  
Join Date: Dec 2006
Location: india
Posts: 1,074
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 
Rep Power: 9
Solved Threads: 161
vijayan121 vijayan121 is offline Offline
Veteran Poster
Join Date: Aug 2006
Location: slovenia
Posts: 246
Reputation: jan1024188 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Re: transparency

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

Is C# better than Win32 API?
Reply With Quote  
Join Date: Aug 2005
Posts: 4,782
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 319
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: transparency

  #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 11:09 am.
I'm not a programmer. My attitude starts with ignorance, holds steady at conversation, and ends with a trip to the hospital. Get used to it.
Reply With Quote  
Join Date: May 2006
Posts: 2,723
Reputation: WaltP is a splendid one to behold WaltP is a splendid one to behold WaltP is a splendid one to behold WaltP is a splendid one to behold WaltP is a splendid one to behold WaltP is a splendid one to behold WaltP is a splendid one to behold 
Rep Power: 15
Solved Threads: 222
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Maven

Re: transparency

  #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...
Age is unimportant -- except in cheese
Reply With Quote  
Join Date: Dec 2005
Posts: 3,638
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 22
Solved Threads: 417
Colleague
Salem's Avatar
Salem Salem is offline Offline
void main'ers are DOOMed

Re: transparency

  #7  
Apr 2nd, 2007
You could make it really transparent by not drawing it at all :p
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Do not PM me for help; You'll be ignored, or told to learn to read.
Do not ask me if I'm muslim - I'm not. Nor do I care about yours or anyone else's mysticism. Religion is a matrix, take the RED PILL.
Reply With Quote  
Join Date: Aug 2006
Location: slovenia
Posts: 246
Reputation: jan1024188 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Re: transparency

  #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  
Join Date: Aug 2005
Posts: 4,782
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 319
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: transparency

  #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 4:05 pm.
I'm not a programmer. My attitude starts with ignorance, holds steady at conversation, and ends with a trip to the hospital. Get used to it.
Reply With Quote  
Join Date: Aug 2006
Location: slovenia
Posts: 246
Reputation: jan1024188 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
jan1024188's Avatar
jan1024188 jan1024188 is offline Offline
Posting Whiz in Training

Re: transparency

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

Thank you very much...

Im sure I will continue working with C++ and WinAPI
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 4:44 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC