Home > Back-end >  ATL create right-click menu on the folder gap problem
ATL create right-click menu on the folder gap problem

Time:10-06

If inscribe
The corresponding registry
HKEY_CLASSES_ROOT \ Directory \ Background \ shellex \ ContextMenuHandlers operation
Now I'm in the implementation process, has the Initialize when
FORMATETC FMT=
{
CF_HDROP,
NULL,
DVASPECT_CONTENT,
1,
TYMED_HGLOBAL
};

STGMEDIUM sm=
{
TYMED_HGLOBAL
};

Hr=pdtobj - & gt; GetData (& amp; FMT, & amp; Sm);

Pdtobj - & gt; GetData (& amp; FMT, & amp; Sm); This sentence in the blank area will be abnormal, can also imagine, because it is a right click on the blank area, so should not be CF_HDROP, what should be???????
  • Related