Path: utzoo!utgpu!watmath!clyde!att!rutgers!apple!voder!pyramid!hplabs!hp-pcd!hpcvlx!bturner
From: bturner@hpcvlx.HP.COM (Bill Turner)
Newsgroups: comp.windows.ms
Subject: Re: Keyboard Interface with not DIALOG class Dialog Boxes
Message-ID: <106580004@hpcvlx.HP.COM>
Date: 28 Nov 88 19:10:04 GMT
References: <2282@PEDEV.Columbia.NCR.COM>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 13

I think the function IsDialogMessage is what handles the keyboard interface
for dialog boxes -- when you have a modeless dialog (created by CreateDialog)
your main message loop needs to be something like

while(GetMessage(...))
{
    if (IsDialogMessage(...))
	continue;
    TranslateMessage(...);
    DispatchMessage(...);
}

--Bill Turner