|
-
Feb 6th, 2001, 02:42 PM
#1
Thread Starter
Lively Member
Hi ,
I have a problem to use GetMenu() in OCX. I have a user control with its own popup menu. Inside of this user control , i want to get the handle of that popup menu by using following code:
dim lngMenuHandle as long
lngMenuHandle = GetMenu(usercontrol.hwnd)
But it doesn't work. The return value is always 0. I am able to use that popup menu by using VB method PopupMenu. Can anyone help? Thanks
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
|