I want to make bmsg that looks like this (pseudo)

bmsg hWnd WM_LMOUSEDOWN if wParam == MK_CONTROL

i know mk_control == 8
but how am i supposed to figure wParam?
Posted on 2001-08-31 15:35:15 by jeffro

wParam is a dWord on the stack.

Depend on your order of parameters pushed up the stack.
Posted on 2001-08-31 18:50:01 by forge
so its called like this
if esp+1 == MK_CONTROL
Posted on 2001-08-31 23:13:38 by jeffro
Yes, but

esp+1 is wrong

have to be:

esp+4 = first parameter
esp+8 = second parameter
esp +C = third parameter

as everything is in dWords = 4 bytes.
Posted on 2001-09-01 02:51:02 by forge