[comp.windows.ms] Trapping virtual keystrokes in a Modeless DlgProc

pdavid@polyslo.CalPoly.EDU (Paul C. David) (10/05/89)

I have had several go-arounds trying to trap virtual keys
in a modeless dialog proc.  Does anyone know of code
examples that clearly illustrate this?  I have tried
subclassing on the functions of a control, but get only
garbage in some diagnostics that I try to print out on
entry.  Not too long ago, someone mentioned trapping the
WM_GETDLGCODE message.  Perhaps if someone could
elaborate on this for me, I could get it right.  Thanks
for the help.
		-Paul.
-- 
Paul C. David		pdavid@polyslo.CalPoly.EDU
California Polytechic State University, San Luis Obispo
Home of the six-year or 60,000 mile undergraduate degree