Changeset 5618 for trunk/src/shell32/shlmenu.c
- Timestamp:
- Apr 28, 2001, 3:33:49 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/shlmenu.c
r4121 r5618 1 /* $Id: shlmenu.c,v 1.1 2000-08-30 13:52:59 sandervl Exp $ */2 1 /* 3 2 * see www.geocities.com/SiliconValley/4942/filemenu.html 4 3 */ 5 #ifdef __WIN32OS2__6 #define ICOM_CINTERFACE 17 #include <odin.h>8 #endif9 4 #include <string.h> 10 5 6 #include "shlobj.h" 11 7 #include "wine/obj_base.h" 12 8 #include "wine/obj_enumidlist.h" 13 9 #include "wine/obj_shellfolder.h" 14 10 #include "wine/undocshell.h" 15 11 #include "shlwapi.h" 16 12 #include "heap.h" 17 13 #include "debugtools.h" … … 52 48 #define CCH_MAXITEMTEXT 256 53 49 54 DEFAULT_DEBUG_CHANNEL(shell) 50 DEFAULT_DEBUG_CHANNEL(shell); 55 51 56 52 LPFMINFO FM_GetMenuInfo(HMENU hmenu) … … 359 355 360 356 } 357 358 /**********************************************************************/ 359 361 360 BOOL WINAPI FileMenu_AppendItemAW( 362 361 HMENU hMenu, … … 603 602 604 603 Shell_GetImageList(0, &hImageList); 605 pImageList_Draw(hImageList, pMyItem->iIconIndex, lpdis->hDC, xi, yi, ILD_NORMAL);604 ImageList_Draw(hImageList, pMyItem->iIconIndex, lpdis->hDC, xi, yi, ILD_NORMAL); 606 605 607 606 TRACE("-- 0x%04x 0x%04x 0x%04x 0x%04x\n", TextRect.left, TextRect.top, TextRect.right, TextRect.bottom); … … 691 690 692 691 GetMenuItemInfoA(hMenu, uID, FALSE, &mii ); 693 if ( mii.hSubMenu ); 692 if ( mii.hSubMenu ) 693 { 694 /* FIXME: Do what? */ 695 } 694 696 695 697 DeleteMenu(hMenu, MF_BYCOMMAND, uID); … … 711 713 712 714 GetMenuItemInfoA(hMenu, uPos, TRUE, &mii ); 713 if ( mii.hSubMenu ); 715 if ( mii.hSubMenu ) 716 { 717 /* FIXME: Do what? */ 718 } 714 719 715 720 DeleteMenu(hMenu, MF_BYPOSITION, uPos); … … 820 825 return(FALSE); 821 826 } 827 828 /**********************************************************************/ 822 829 823 830 HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAdjust, UINT uIDAdjustMax, ULONG uFlags)
Note:
See TracChangeset
for help on using the changeset viewer.