Click here to Skip to main content
15,881,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir I have added one own menu item in window menu using jni,vc++,java. sir I want to handle event on that item using jni.how it can be possible. sir this can be done by jinvoke package in java.This package contain user32 class.so it can be done by jinvoke package. But sir I can't use this package because this is licence version package.And I don't have the licence of this package.so I choose the process of jni.And I have added one own menu in window menu using findwindow,Getsystemmenu and insertmenu. but I am not understanding that how can get handle of window menu and message from window menu when click on own window menu item in java.when click on own window menu item in java and handle of window menu pass to vc++ code.how it can be possible.please sir help me.
Posted
Comments
TorstenH. 3-Aug-11 8:35am    
Again? You've asked multiple times.

What kind of menu do you control? Why do you want to use both, C++ and Java?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900