Yeah, that makes a whole lot of difference
The menu thingy is gonna be very complex. If you want an example, look at my code again. Search for "OnWndSettings_LanguageEvent_LstViewRClicked" in the same file you found the message notification event. If there's anything you need explained, I'm here.
As for the button: that'll be easier:
JScript code:
function OnWindowIdEvent_CtrlClicked(PlusWnd,ControlId) {
if(ControlId === "BtnRename") {
Interop.Call("User32.dll",
"SendMessageW",
PlusWnd.GetControlHandle("MyListView"),
LVM_EDITLABELW,ItemToRename,0);
}
}
You can get the ItemToRename value by declaring a global variable and assigning it in each list-view event. Be sure to assign it -1 when the window is destroyed.