home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3474 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.3 KB

  1. Path: sparky!uunet!know!mips2!news.bbn.com!seismo!darwin.sura.net!jvnc.net!news.edu.tw!news!Uz.nthu.edu.tw!yfwu
  2. From: yfwu@Uz.nthu.edu.tw (EE U780935)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: VB HELP: Events detection when minimized?
  5. Message-ID: <1992Nov17.004226.21852%yfwu@Uz.nthu.edu.tw>
  6. Date: 17 Nov 92 00:42:26 GMT
  7. References: <97660@netnews.upenn.edu>
  8. Organization: National Tsing Hua University (HsinChu)
  9. Lines: 38
  10.  
  11. lchang@eniac.seas.upenn.edu (Ling Chang) writes:
  12. > 1)  How do I detect events when the form is minimized (icon level).  The
  13. > only thing that it seems to be able to do is to maximize form when double-
  14. > clicked on the icon.  I can also change icon before it is minimized.  But
  15. > what I really want is a way to communicate with user at the icon level.
  16. > For example, I wish to run some code when the user clicks on the icon with
  17. > the right-mouse button.  Thanks.
  18. You can use a control called CallBack by MicroHelp Inc. The control is in
  19. its VBTools 2.x. By this control, you can monitor all events you want whenever
  20. what state your program is(except your program is not being executed). If you
  21. don't have this control, you can write a DLL which perform Hook Function by
  22. yourself....   :-)
  23.  
  24. > 2)  Can I use all the Windows API stuff?  So far, I have experimented with
  25. > the getprofile and writeprofile, wish to do something like calling the
  26. > printer setup or access the printer driver (to change configuration).
  27. You can use almost all of the Windows API in Visual Basic. About 99% I think.
  28. If you wan to call printer setup or access printer driver, just use 
  29. Common Dialog Roution. It is easy....   Almost no code required.
  30.  
  31. > 3)  Is VB 2.0 worth the upgrade?
  32. It seems that it is much better than VB 1.0, so upgrade soon. Though I havn't 
  33. gotten VB2.0 yet.
  34.  
  35. > Thanks a lot!
  36. You are welcome.
  37.  
  38. > Ling S. Chang
  39. > lchang@eniac.seas.upenn.edu
  40. Last, are you a chinese ?
  41.  
  42. --
  43. ===============================================================================
  44.  Yuh-Fuu Wu                                      National Tsing-Hua University
  45.  e-mail: yfwu@uz.nthu.edu.tw                     Dept. of Electric Engineering
  46.                                                  Hsin-Chu City, 300
  47.  Like MS Visual Basic most!                      Taiwan, ROC
  48. ===============================================================================
  49.