cancel
Showing results for 
Search instead for 
Did you mean: 

Strange Problem with windows form in SBO

Former Member
0 Kudos

Hi all

I encountered a strange problem

I have a standard .net windows form that I am activating from a menu in SBO

In the test Env. in our office the form always shows on top, whoever in the customer site first time you activate the menu the form appears correctly on top but when you close the form and press the menu again the form will appear "behind" the SBO.

The form will appear on top only the first time you use it.

The form is set to TopMost true

I also tried using the user32.dll functions of SetFocus and SetForgroundWindow

(I put them in the Activated event of the form)

But it made no difference – first time form on top - the rest the from is behind

The form is run on a separate thread and as I said works perfectly in the test Env.

I am using .net 2005 with SBO 2005

Any Ideas ?

Thanks

Ronny

Accepted Solutions (1)

Accepted Solutions (1)

FOA
Advisor
Advisor
0 Kudos

Hi Roni,

I think you will find the answer to your question in this thread.

https://forums.sdn.sap.com/click.jspa?searchID=3636651&messageID=844077

Regards,

Felipe

Answers (0)