We are currently troubleshooting a recording macro issue. This is regarding bug tracker number 1883097. The main issue is that we are unable to understand what the variables regarding this macro mean. Any assistance would be very helpful. Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(1) the first parameter is an integer indicating the type of step:
0 = Windows WM_NOTIFY message, using an integer LPARAM,
1 = Windows WM_NOTIFY message, using a string parameter,
2 = Windows WM_COMMAND message (i.e., a menu command).
(2) the second parameter is an integer indicating the message id. Typically, this is a Scintilla message, one of the SCI_XXX constants in the file
scintilla\include\Scintilla.h
(3) the third parameter is an integer giving either
(a) the WPARAM parameter, for type 0 or type 1 macro steps, or
(b) the menu command id, for type 3 macro steps -- these ids are defined in the file
PowerEditor\src\resource.h
(4) the fourth parameter is an integer giving the LPARAM parameter, for type 0 or type 1 macro steps,
(5) the fifth parameter is the value of the string constant for type 1 macro steps.
Regards.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We are currently troubleshooting a recording macro issue. This is regarding bug tracker number 1883097. The main issue is that we are unable to understand what the variables regarding this macro mean. Any assistance would be very helpful. Thanks in advance.
For each macro step,
(1) the first parameter is an integer indicating the type of step:
0 = Windows WM_NOTIFY message, using an integer LPARAM,
1 = Windows WM_NOTIFY message, using a string parameter,
2 = Windows WM_COMMAND message (i.e., a menu command).
(2) the second parameter is an integer indicating the message id. Typically, this is a Scintilla message, one of the SCI_XXX constants in the file
scintilla\include\Scintilla.h
(3) the third parameter is an integer giving either
(a) the WPARAM parameter, for type 0 or type 1 macro steps, or
(b) the menu command id, for type 3 macro steps -- these ids are defined in the file
PowerEditor\src\resource.h
(4) the fourth parameter is an integer giving the LPARAM parameter, for type 0 or type 1 macro steps,
(5) the fifth parameter is the value of the string constant for type 1 macro steps.
Regards.
Greg
Whoops! Let me correct that. The fourth parameter applies only to type 0 macro steps, not to type 1 macro steps.
Greg