473,569 Members | 2,845 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ / Win32 / non-transparent control in a transparent window

1 New Member
I am trying ( so far in vain ) to display a normal looking ( non-transparent ) control in a transparent window. I am attempting this in C++, on Vista ( argh ), and having no luck at all. Our transparent window has been accomplished with the infamous "DwmExtendFrame IntoClientArea( )" call, which of course implies that "compositio n" is enabled.

If someone can tell me how to simply render an icon or bitmap so that it is not see-through, I would really appreciate it. Once I know how to do that I can handle the custom control business. I've done this many times before, but never with something as freaky and unwieldy as Vista.

Thanks in advance for any help!
Mar 28 '07 #1
1 2515
sicarie
4,677 Recognized Expert Moderator Specialist
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidlines.

Then when you are ready post a new question in this thread.

MODERATOR
Mar 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

19
105777
by: Dave | last post by:
Hi, I have done some research, trying to Clear The Screen in java code. The first option was the obv: system.out.print("\n\n\n\n\n\n\n\n\n\n\n\n"); then i heard about this method: System.out.print((char)27 + "[2J");
0
1308
by: John Abel | last post by:
Hi, I've a small script, which listens to a port on a remote machine. I'm trying to implement makefile. However, the code on Win32 Py 2.2.2 def _Connect( self ): sockConn = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) try: sockConn.connect( ( self.remoteMachine, self.remotePort ) ) except socket.error, ErrorMsg:
2
3127
by: Jeff Wagner | last post by:
I just tried to install Python Win32 (win32all-163.exe) and right after the install, I am getting the message: "As this is being installed as a non-admin user, certain COM features will not work correctly. You will not be able to implement COM objects in Python (but you should be able to use other COM objects). Active Scripting is also not...
0
1306
by: Hans-Joachim Widmaier | last post by:
Over the last days I desperately tried to install Python 2.3.4 and the Win32 extensions on a Win 95 box (actually more than 1, but my futile trying was done on just one). Since the 201 version didn't work on Win XP, I initially started with version 163. When the installer tries to compile the library files, up comes a dialogue with a...
28
2656
by: Grant Edwards | last post by:
I finally figured out why one of my apps sometimes fails under Win32 when it always works fine under Linux: Under Win32, the pickle module only works with a subset of floating point values. In particular the if you try to dump/load an infinity or nan value, the load operation chokes: Under Linux: $ python
6
4364
by: Thomas Barth | last post by:
Hi, I'm new to windows programming and still reading a book about windows-programming with C++. I copied the following code from the book into my ide (Eclipse/CDT) to comprehend the code, but two errors occur. In function `LRESULT WndProc(HWND__*, unsigned int, unsigned int, long int)': line 48: error: invalid conversion from `void*' to...
98
3850
by: jacob navia | last post by:
<< QUOTE It is NOT a C compiler, because it doesn't conform to any commonly accepted C specification (K&R, C89, C99). You have no right to call it a C compiler until you get it to conform quote >> lcc-win32 provokes unexpected passions in some people using this newsgroup. It is a H compiler then (H for heretical, non-orthodox) << QUOTE
9
3391
by: esafran | last post by:
Hi, I've have encountered a very strange behaviour under C#. My application is registering for: Microsoft.Win32.SystemEvents.DisplaySettingsChanged & Microsoft.Win32.SystemEvents.UserPreferenceChanged When I run my application as a Console Application (not as a service), my application receives the events when I change the screen...
3
3082
by: Greg | last post by:
I seek to understand ATL better. When I create a Win32 Project (App or DLL) the option to add support for ATL (or MFC) is not selectable. It is only selectable for a Win32 Console App. However, it seems that ATL-MFC Shared classes, e.g. CString, CStringT, and the new CRect, can be added to the project and work fine. All that is required is to...
0
1177
by: Rob | last post by:
Any opinions on the best way to send a small text struct from a legacy win32 (non-MFC) app to a C# app? There seem to be a lot of options, but I'm trying to keep the Win32 side as simple as possible. I don't want to use threads on that side. Prefer that the Win32 app just bundles up strings and sends them off (inline code) without waiting...
0
7695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5509
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.