home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3576 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!swrinde!emory!europa.asd.contel.com!darwin.sura.net!jvnc.net!nuscc!iti.gov.sg!paul
  3. From: paul@iti.gov.sg (Paul Phang (AIM))
  4. Subject: Transparent Windows in MFC
  5. Message-ID: <1992Nov20.145937.10832@iti.gov.sg>
  6. Keywords: MFC, Microsoft Foundation Classes, transparent window
  7. Sender: news@iti.gov.sg (News Admin)
  8. Organization: National Computer Board, Singapore
  9. Date: Fri, 20 Nov 1992 14:59:37 GMT
  10. Lines: 26
  11.  
  12. Hi !
  13.  
  14. I've tried to create transparent windows (ie those windows which you can
  15. place ontop of other windows without obscuring it or its contents ) using MFC
  16. without much success.  
  17.  
  18. What I tried was to use CWnd::CreateEx().  However, I notice that 
  19. the documentation in MFC does not mention that you can use
  20. WS_TRANSPARENT_EX as an extended window style, although this function
  21. is supposed to be equivalent to ::CreateWindowEx().  
  22. I also created a class to use the null brush and use this class 
  23. in the CreateEx() as an argument.  The window is created but it does
  24. not appear to be transparent.
  25.  
  26. Also, if a program gives an address like 0003:1234 as the place
  27. where an error occurs, how does one know which statement does it
  28. translate to in the MFC source code. 
  29.  
  30.  
  31. Can some kind soul please advise?   Thanks in advance.
  32.  
  33. -- 
  34.                              Paul Kah Heng Phang
  35.  Advanced User Interface Group, Computer and Communications Laboratory
  36.  Information Technology Institute, National Computer Board, Singapore
  37.      Email: paul@iti.gov.sg   Phone: (65) 7720908 Fax: (65) 7773043
  38.