rahmat_20 wrote:
I want to use Setactivewindow
Presumably NOT because you think this is necessarily going to work with a java component. So your FIRST steps. 1. Learn C/C++ 2. Learn how to create a windows window 3. Write C/C++ code to call SetActiveWindow() 4. Test it. NONE of the above has anything to do with java. DO NOT write java until you have the above working.