Editable-ContextMenu-Extension
This is the repository for the Windows Explorer In-Process Extension DLL for the ContextMenu.
Context Menu Icon Details
Windows is picky on transparency for Context Menu Extensions icons.
Photoshop cannot save bmp images properly for use with the extensiosn.
Use PixelFormer and follow these steps:
- Open the 16x16 PNG file with transparency in PixelFormer
- Click
File -> Export - Choose
BMPfor the "Save as type" - Click
Saveand then in the following window - Select
A8:R8:G8:B8 (32 bpp) - Check
Premultiplied alpha - Click
OK
In Visual Studio:
- Double-click on
ContextMenuExtension.rcto open theResource View - Delete the Bitmap Resource named
IDB_SENDBMP - Right-click on
ContextMenuExtension.rcin theResource View - Click
Add Resource... - Select
Bitmapand then ClickImport... - Select the previously exported icon
- The Newly created Bitmap Resource will be called
IDB_BITMAP1 - Click on
IDB_BITMAP1and then open thePropertiespanel - Change the
IDtoIDB_SENDBMPand then ClickSave - Back in the
Solution Explorer, Double-click onResource.h - Make sure to delete the define directive for
IDB_BITMAP1 - Unload the extension with
regsvr32.exe /u - Rebuild for both 32 and 64 bits