Restore my message window on front...

My application runs a thread that waits messages form other peers

Whenever that receives message, just the message frame is on the window task bar

BUT..

I want the message frame appear on the front of all, even the application loose focus (locked)...

we tried use Always On Top function with JNI but doesn't work well

somebody help me..!!

[377 byte] By [dyson] at [2007-9-27 18:44:27]
# 1
What was wrong w/ the always on top funtion in JNI (it works fine for me)
mlk at 2007-7-6 19:58:03 > top of Java-index,Archived Forums,Java Programming...
# 2

Also My AlwaysOnTop Function works well when The Application Frame was on Activiate..

In my case the application is inActivated(actually loose focus) and when gets new message from other peer that new message frame is on TaskBar

I want to show the message on front of all...

Alreay i tried SetFocus, ShowWindow (Win32 API) but.. doesn't work..

How can I show my new message frame what is inactivated...

dyson at 2007-7-6 19:58:03 > top of Java-index,Archived Forums,Java Programming...