RE: WinAPI "LoadMenuA"?
- Posted by Al Getz <Xaxo at aol.com> Apr 26, 2001
- 385 views
Euman wrote: > A Question concerning: > > LoadMenu = link_c_func(user32, "LoadMenuA", {C_INT, C_POINTER},C_INT) > > The Pointer is what I have trouble with because it must be a 0 > terminated > string > How can I, If I have setup integer based pointers to my menu system > return the right menu. I thought that if someone knows the ins-outs of > MAKEINTRESOURCE > This might work. > > --LPTSTR MAKEINTRESOURCE( > --WORD wInteger > > hmenu = c_func(LoadMenu, {hInst, IDM_TIME}) > hsubmenu = c_func(xGetSubMenu,{hmenu, 0}) > > Any Ideas? > > euman at bellsouth.net > > Euman > > You cant use CreateMenu() and SetMenu() ? You might want to look at LoadMenuIndirect() also. --Al