home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / tools / 746 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.8 KB

  1. Path: sparky!uunet!olivea!hal.com!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!engage.pko.dec.com!tfh.enet.dec.com!marshall
  2. From: marshall@tfh.enet.dec.com (Hunting the Snark)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: Re: Using Borland Custom Control Library
  5. Message-ID: <1992Aug21.055145.20718@engage.pko.dec.com>
  6. Date: 21 Aug 92 06:38:42 GMT
  7. Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
  8. Organization: Digital Equipment Corporation
  9. Lines: 37
  10.  
  11.  
  12. In article <ins434u.713663367@aurora.cc.monash.edu.au>, ins434u@aurora.cc.monash.edu.au (D. May) writes...
  13. >I have this problem with TPW.  I am learning how to do TPW's menus, dialogs, 
  14. >etc with Resource Workshop  - and am joggin through it with Neil Rubenking's
  15. >Turbo Pascal book.
  16.  
  17. (aside) I really like Tom Swan's book, but haven't read Rubenking.
  18.  
  19. >I always thought that Resource Workshop was pretty cool because you could
  20. >access Borland's nice-looking dialogs, etc.  However, I have just found out
  21. >(from reading Rubenking's book) that unless BWCC.DLL is loaded (i.e. if you're
  22. >doing something like running Resource Workshop) your nice custom control
  23. >dialogs don't load up properly.
  24. >I tried it this morning and he was right.  But he says, instead of using
  25. >WObjects and StdDlgs, use the units WObjectB and StdDlgB - wait a minute...
  26.  
  27. I believe that you should have them. They came with TPW1.0 and were dropped 
  28. in 1.5 in favor of BWCC.TPU
  29.  
  30. In the mean time if you just want your dialogs to have the "Borland Look", just
  31. put a LoadLibrary('BWCC.DLL') command in your app like this:
  32.  
  33.     begin
  34.       LoadLibrary('BWCC.DLL');
  35.       TMyApp.Init('MyApp');
  36.       TMyApp.Run;
  37.       TMyApp.Done;
  38.     end
  39.  
  40. What 'using' the units will buy you is "the look" in the more mundane
  41. MessageBox and other Windows-created dialogs.
  42.  
  43.  
  44. Sm
  45.