🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3329

TPW, WRT questions....

#3329
From: Jeffrey R Price
Date: Thu, 20 Jun 1991 23:06
33 lines
2381 bytes
From a struggling TPW novice.....

1: How do I display a dialog resource in the MainWindow.  Am I being
   stubborn in not wanting to open a new dialog for this?  The idea is an
   Icon based menu that will open sub-menus/applications as dialogs; I want
   to put the main menu (read: dialog resource) into the main window.
   Suggestions?

2: To make changing the icon based menus easier, I wanted to place an
   invisible button around a menu selection (an icon and static text).  The
   WRT will let me do this *once* by defining an owner draw button; the
   program contains no code to handle the drawing requests.  This works
   once.  The first button I create is invisible and works properly.  Other
   buttons, copied from the first, hide the icon and static text they sit
   around when the program runs.  The buttons work.  Any suggestions?

3: Any TPW examples of OwnerDraw buttons out there?  I can't follow the C
   examples I've seen.

Please Email responses...I'll summarize if folks desire!

PS: Suggestions to buy the SDK manuals won't help much.  I'm using TPW so I
    could lazily avoid learning C.  The C examples I've seen were just to
    darn confusing!  (I'm a reforming PICK programmer!)

**************************************************************************
                  Jeffrey R. Price                 | Systems Analyst
---------------------------------------------------| Computing Services
Opinions expressed are my own, and are regularly   | 1775 College Road
ignored by my employer...so beware!................| Columbus, OH  43210
---------------------------------------------------| Tel: (614) 292-1741
email: jprice@Prime.CoB.Ohio-State.edu             | Fax: (614) 292-1651
**************************************************************************
Technical Details
Message-ID: <1991Jun20.230636.155@magnus.acs.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jprice

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!jprice
From: jprice@magnus.acs.ohio-state.edu (Jeffrey R Price)
Newsgroups: comp.windows.ms.programmer
Subject: TPW, WRT questions....
Message-ID: <1991Jun20.230636.155@magnus.acs.ohio-state.edu>
Date: 20 Jun 91 23:06:36 GMT
Sender: news@magnus.acs.ohio-state.edu
Organization: The Ohio State University
Lines: 33
Originator: jprice@bottom.magnus.acs.ohio-state.edu
Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu