🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2164

Transparent Windows in MFC

#2164
From: Paul Phang (AIM)
Date: Fri, 20 Nov 1992 14:59
26 lines
1618 bytes
Hi !

I've tried to create transparent windows (ie those windows which you can
place ontop of other windows without obscuring it or its contents ) using MFC
without much success.  

What I tried was to use CWnd::CreateEx().  However, I notice that 
the documentation in MFC does not mention that you can use
WS_TRANSPARENT_EX as an extended window style, although this function
is supposed to be equivalent to ::CreateWindowEx().  
I also created a class to use the null brush and use this class 
in the CreateEx() as an argument.  The window is created but it does
not appear to be transparent.

Also, if a program gives an address like 0003:1234 as the place
where an error occurs, how does one know which statement does it
translate to in the MFC source code. 
 

Can some kind soul please advise?   Thanks in advance.

-- 
                             Paul Kah Heng Phang
 Advanced User Interface Group, Computer and Communications Laboratory
 Information Technology Institute, National Computer Board, Singapore
     Email: paul@iti.gov.sg   Phone: (65) 7720908 Fax: (65) 7773043
Technical Details
Message-ID: <1992Nov20.145937.10832@iti.gov.sg>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!swrinde!emory!europa.asd.contel.com!darwin.sura.net!jvnc.net!nuscc!iti.gov.sg!paul

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!swrinde!emory!europa.asd.contel.com!darwin.sura.net!jvnc.net!nuscc!iti.gov.sg!paul
From: paul@iti.gov.sg (Paul Phang (AIM))
Subject: Transparent Windows in MFC
Message-ID: <1992Nov20.145937.10832@iti.gov.sg>
Keywords: MFC, Microsoft Foundation Classes, transparent window
Sender: news@iti.gov.sg (News Admin)
Organization: National Computer Board, Singapore
Date: Fri, 20 Nov 1992 14:59:37 GMT
Lines: 26