Snakebite
October 13th, 2002, 03:55 PM
Hi,
just looking for a clarification. What identifies the command that set_command(...) updates? Is it the pointer of the command parameter, or is it the command current in the config dialog, i.e. the last command from command_changed(...)?
I'm doing some OO wrapping, so this becomes important. In other words, if I store a pointer (A) from an earlier command_changed(...) and then call set_command(A) later, after the user has selected another command (B), which one is updated?
just looking for a clarification. What identifies the command that set_command(...) updates? Is it the pointer of the command parameter, or is it the command current in the config dialog, i.e. the last command from command_changed(...)?
I'm doing some OO wrapping, so this becomes important. In other words, if I store a pointer (A) from an earlier command_changed(...) and then call set_command(A) later, after the user has selected another command (B), which one is updated?