UINT nItemID = 0;
CMenu *pTempMenu = NULL;
int nCount = (int)pMenu->GetMenuItemCount();
for(int i = 0; i < nCount; i++)
{
MENUITEMINFO menuInfo;
menuInfo.cbSize = sizeof(MENUITEMINFO);
//Because the bug of GetMenuItemID,have to use GetSubMenu
pTempMenu = pMenu->GetSubMenu(i);
if(pTempMenu == NULL)
{
//No Pop Menu,So It's a Normal Menu or Separator
nItemID = pMenu->GetMenuItemID(i);
if(nItemID == 0)
{
//Separator Item
CMenuItem *pMenuItem = new CMenuItem;
::AppendMenu(hMenu,MF_SEPARATOR,0,(LPCTSTR)pMenuItem);
全部精品源码共200多套,解压后20G多
源码名称 源码数量(套) 大小(RAR) 解压后大小
pb-精品源码 42 1.5 G 6.5 G
delphi-精品源码 87 1.4 G 4.1 G
vb-精品源码 26 1.2 G 3.3 G
vc-精品源码 32 1.2G 3.2 G
.net-精品源码 20 620Mb 1.8 G
java-精品源码 14 253 Mb 600 Mb