[comp.windows.ms.programmer] Actor CB_ messages

reilly@bnlux0.bnl.gov (kevin reilly) (02/22/91)

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.