patch 7.4.724
Problem: Vim icon does not show in Windows context menu. (issue 249)
Solution: Load the icon in GvimExt.
diff --git a/src/GvimExt/gvimext.h b/src/GvimExt/gvimext.h
index 59747c9..426cae5 100644
--- a/src/GvimExt/gvimext.h
+++ b/src/GvimExt/gvimext.h
@@ -110,10 +110,14 @@
class CShellExt : public IContextMenu,
IShellExtInit
{
+private:
+ BOOL LoadMenuIcon();
+
protected:
ULONG m_cRef;
LPDATAOBJECT m_pDataObj;
UINT m_edit_existing_off;
+ HBITMAP m_hVimIconBitmap;
// For some reason, this callback must be static
static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam);