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

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!concert!sas!mozart.unx.sas.com!vm.sas.com!sastph
  2. Organization: SAS Institute Inc.
  3. Date: Tuesday, 17 Nov 1992 09:26:15 EDT
  4. From: <SASTPH@vm.sas.com>
  5. Message-ID: <92322.092615SASTPH@vm.sas.com>
  6. Newsgroups: comp.os.ms-windows.programmer.misc
  7. Subject: Visual Basic questions
  8. Lines: 19
  9.  
  10. Well, I thought I'd try converting a small Windows app written in C to
  11. Visual Basic 1.0, but it appears I can't.  Here's some things I that
  12. apparently can't be done in VB, or that I can't find in the doc:
  13.  
  14. 1.  Append an item to the system menu and get notified when it's
  15.     selected.  My app doesn't need a full-scale menu bar, so I just
  16.     append my "About FOO..." menu item to the system menu.
  17. 2.  Send messages between forms.  My app uses three windows.   Clicking
  18.     on a control in the main window causes immediate changes to the
  19.     other two windows.
  20. 3.  Detect when the form is iconized. My app draws on its icon, which
  21.     I understand can be done in Visual Basic, but when?  In C I just
  22.     call IsIconic() whenever I get a WM_PAINT message and paint the
  23.     icon when it (IsIconic) returns TRUE.  While I'm aware that I
  24.     can call IsIconic from VB, surely I don't need to for such a
  25.     simple thing?
  26.  
  27. Can some VB guru out there show me how to do these thing?
  28. Thanks in advance.
  29.