Howdy!
I understand that the keyboard logic is taken care of in Dialogs created by DialogBoxParam. If this were the case, how do i process this MSG? Do i have to 'hook' my own Dialog?
Thanks :)

Latigo
Posted on 2001-07-31 16:17:00 by latigo
I think I came across the same problem a while ago.
I managed to solve it using a keyboard accelerator.
Can a keyboard accelerator help with your situation.
Posted on 2001-07-31 21:45:42 by Satrukaan
you always can emulate DialogBoxParam by CreateDialogParam and so you get all messages you want:



invoke CreateDialogParam ...
.while (1)
invoke GetMessage...
...
.endw


and in your dialog box:


.if (eax == WM_INITDIALOG)
invoke GetParent,hWnd
invoke EnableWindow,eax,0
...
.elseif (eax == WM_CLOSE
invoke GetParent,hWnd
invoke EnableWindow,eax,1
...


japheth
Posted on 2001-08-01 03:00:05 by japheth
Thanks Japheth

Better late than never... :)
Posted on 2001-08-14 14:21:42 by latigo
If you get it figured out.. i would be currious to see your code...

Good luck..

:alright:
NaN
Posted on 2001-08-14 23:48:29 by NaN