Is there an API to set Form on top every window

Hello:

I have a timer within a form that triggers every 5 seconds. I need this form to return on top every Windows application each timer event.
I tried some APIs but they didnt put the form on top.
Please, I will appreciate any help.

My best regards.
Rob

Comments

  • : Hello:
    :
    : I have a timer within a form that triggers every 5 seconds. I need this form to return on top every Windows application each timer event.
    : I tried some APIs but they didnt put the form on top.
    : Please, I will appreciate any help.
    :
    : My best regards.
    : Rob
    :
    :

    Have you tried the ZOrder method?

    Form1.ZOrder should bring the form to the top.

    K.
  • to really achieve your desired result.
    use the setwindowpos() win32 call.

    u can use the api viewer and MSDN to get further clarification.
    any help?
  • Hello:

    It works !. Thank you very much.

    Rob


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories