liqmysaq wrote:how come u changed the HK_# with dwParms and added in the DWORD dwParms[] = { 20, 0, 0 }; ? does this mean if i want a different HK_# i need to type in the DWORD line again and rename dwParms to dwParms1 or something? or will it work if i take out the DWORD line and change dwParms to 20 like u showed in the previous post.
Depends if you want to assign a new hotkey in the same void or not.
The dwParms is declared locally in that void, so either declare a new array with a different name eg
DWORD dwParms1 = ... // one set per hotkey
DWORD dwParms2 = ...
Or simply reuse the array. Just enter new values in the array and use the name again. eg
dwParms[] = { 30, 0, 0 };
// register hotkey 1
dwParms[] = { 50, 0, 0 };
// register hotkey 2