home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4195 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!think.com!unixland!scott
  3. From: scott@unixland.natick.ma.us (Scott Evernden)
  4. Subject: Re: F****d Borland forgot to define the message in BC 3.1's windows.h !!!!!
  5. Message-ID: <1992Dec14.021810.6214@unixland.natick.ma.us>
  6. Organization: Unixland Public Access Unix & Think_Tank BBS
  7. References: <1992Dec9.045940@avsht.sph.spb.su>
  8. Date: Mon, 14 Dec 1992 02:18:10 GMT
  9. Lines: 28
  10.  
  11. In article <1992Dec9.045940@avsht.sph.spb.su> avsht@sph.spb.su writes:
  12. >Hi, people!
  13. >
  14. >Trying to recompile my Windows project under BC 3.1, I was wondering
  15. >very much when compiler suddenly reported me that he doesn't know
  16. >the message WM_PAINTICON. I looked into windows.h and didn't find it!!!
  17. >Although nearest win30.h file (former windows.h from BC 3.0)
  18. >defines it.
  19. >
  20. >1. Is it Borland mistake or mine?
  21. >2. What is the best way to avoid it:
  22. >   - to feed bcc the option -DWM_PAINTICON=0x0026
  23. >   - to change windows.h by adding #define WM_PAINTICON 0x0026
  24. >   - another way
  25.  
  26. 1.  Your mistake, sort of.  WM_PAINTICON doesn't appear in either
  27. Borland's or Microsoft's windows.h   However, according to my handy
  28. copy of "Undocumented Windows", WM_PAINTICON is documented/defined
  29. only in the 3.1 DDK and WIN32 API.
  30.  
  31. 2.  Either approach is best...
  32.  
  33. -scott
  34. ----
  35. GrayMatter Software Co.              Holliston, MA   508 429-7867
  36. spe@world.std.com                                   scott@opl.com    
  37. user interface and application development technologies and tools
  38.  
  39.