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