Looks like alesek
is Swedish, though he wont tell us in his profile.
Du måste bara prova hårdare, kille!
CMenu* pSystemMenu=::GetSystemMenu(plugin.hwndParent, FALSE);
Use "::" in front to use the raw Win32 API version of GetSystemMenu(), and not the method of your CWnd/CDlg or whatever. Using ::GetSystemMenu() let you put in the handle of the window you want to get the the system menu from.
It's very easy to forget, trust me I know