WinAPI "LoadMenuA"?

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu