PDA

View Full Version : Command parameters keep changing



dlepp
January 22nd, 2003, 09:37 PM
Hi there,

I'm having trouble with capturing a command, specifically, I am able to capture a command and get it to work on the program (Light Alloy) at first, but when I close and reopen the program the wparam and lparam values have changed and it no longer works.

I have only a vague understanding of all this, so If somebody could expain to me what these parameters are for and how they are assigned, it would be greatly appreciated.

I'm also curious what the difference between command, syscommand and application commands is and if choosing a differnt one might help me out at all.

Ron
January 22nd, 2003, 10:32 PM
if they change you are out of luck and have to find a different way of controlling it.

Either initiate the action differently: Usually you can do something with the mouse and the keyboard, from a menu or a popup menu. This will always give different results for command capture. One of those might be the one that will work.

Or go with keyboard actions or mouse actions.

dlepp
January 23rd, 2003, 04:06 PM
thats what i was afraid of. problem is there are a number of steps to initiate the command (left clicks, oks, etc.) with different wait periods. I was hoping for something simple to get to it without all the navigation. thanks though.