Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


My OCX doesn't show icons on its menu!


My OCX doesn't show icons on its menu!

Author
Message
trikinuke
trikinuke
Forum God
Forum God (1.4K reputation)Forum God (1.4K reputation)Forum God (1.4K reputation)Forum God (1.4K reputation)Forum God (1.4K reputation)Forum God (1.4K reputation)Forum God (1.4K reputation)Forum God (1.4K reputation)Forum God (1.4K reputation)

Group: Forum Members
Posts: 6, Visits: 1

Hi. I'm developing an ActiveX control in VB 6.0 wich has it's own menu. It raises when clicking the second button of the mouse, therefore it's a contextual or emergent menu.

I have tried to put icons in this menu with API's, but meanwhile it runs in a form, I cannot do it in an Usercontrol.

I have realized that the GetMenu API function retrieves a long number in a form, and if it's ok, the number is more than zero always, by the opposite something is wrong or the form has no menu. But migrating this code onto a control, the GetMenu function always returns zero, such as it had no menu.

I have searched and searched but I have not found anything to resolve this issue.

Can you help me? How can I put icons in my OCX's menu?

 

Sorry by my English, I'm spanish.


GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search