|
-
Feb 17th, 2000, 05:22 AM
#1
Hi i need to crate new menus in runtimes and i need some help with the api that does that - any idea please ?
-
Feb 17th, 2000, 12:04 PM
#2
Lively Member
first use the API function Getmenu to return the window's menu handle. then, create your own menu items and append them to the windows' menu using the API function
AppendMenu.
Dim hMenu as Long
hMenu = GetMenu(Me.hwnd)
Call AppendMenu(hMenu, MF_STRING, "New Item")
-
Feb 17th, 2000, 10:15 PM
#3
Tnx Dude But - the AppendMenu api - you are missing a pramater [ ByVal lpNewItem As Any]
Can you send me the currect code Tnx ..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|