🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Actor CB_ messages

#1403
From: kevin reilly
Date: Thu, 21 Feb 1991 18:10
27 lines
1582 bytes
This message goes out to all Actor users.
I was perusing the FileDialog class and noticed that in the resource the
FileList is a ComboBox yet in the command method no CBN_ messages are
trapped.
The messages o the fileist are acted upon by trapping LBN_ and LB_
messages that happen to have the same numerical value as their CB_ and
CBN_ counterparts.
Am I missing something here?
My first thought was that this is an example of poor Windows
programming.
Also shouldn't the trapped dialog messages be sent directly to a
corresponding method where the action is taken place rather than
separate and numerous methods within the case statement.
This would enable all descendant dialogs to access those messages
without including them in their specific command method.

ould an experienced Actor programmer comment upon th FileDialog class an
example of good/bad windows/OOPs programming?
It would be very helpful in dispersing some confusion.

Also I have written a small grep utility for Windows using Actor.
If anyone should find need for it I would most gladly send the class
code or the sealed off image and executable.

reilly@bnlux0.bnl.gov

Thank you very much.
Technical Details
Message-ID: <2556@bnlux0.bnl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!caen!umich!sharkey!bnlux0!reilly

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!caen!umich!sharkey!bnlux0!reilly
From: reilly@bnlux0.bnl.gov (kevin reilly)
Newsgroups: comp.windows.ms.programmer
Subject: Actor CB_ messages
Keywords: Actor Windows
Message-ID: <2556@bnlux0.bnl.gov>
Date: 21 Feb 91 18:10:14 GMT
Organization: Brookhaven National Lab
Lines: 27