Results 1 to 5 of 5

Thread: my application automaticly sets its self on focus..?

  1. #1

    Thread Starter
    Hyperactive Member Abdulrahman's Avatar
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    281
    hi,

    I have an application which I have designed, it basicly plays a number of audio files. (playing the next file after the previous has ended) - automaticly.

    However..

    when I leave the application to play each file... it for some reason (which i dont understand), sets its self to focus. I know that coz, if i am using another application while my applicaion is in the background, then when my applicaiton is moving onto a new file to play it suddenly shows up from the bakground (& its window sets on focus).

    I think its due to some sort of autoamic updating or something..

    anyone have any ideas on what I can do? can I manually force it not to set the app window to focus at such stages?

    anyone have any ideas?

    many thanks
    Abdul
    1+1=3
    make life simple, use a calculator!

  2. #2
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    ...

    Run it minimized and see what happens

  3. #3

    Thread Starter
    Hyperactive Member Abdulrahman's Avatar
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    281

    re:

    thanks, but i have tried this.

    what it does then, is that is does not show up...

    but the application windows that I am using suddenly loses focus (when my minimised application goes on to play another file -nothing is visible.. coz its minimised) but it casues any other application windows to lose focus.

    any ideas?

    Abdul
    1+1=3
    make life simple, use a calculator!

  4. #4
    Junior Member
    Join Date
    Nov 2000
    Location
    IL, USA
    Posts
    17
    Try running your app from the systray (that little collection of icons next to the clock on your start bar). There are two pages on this site to help you.

    The first one is a big code slice, you'll have to figure out how it works on your own.

    The other one is more like a tutorial. It gives you a little more than just the code.

    I ended up using a combo of both. I was very happy with the results.

    Good luck...

  5. #5

    Thread Starter
    Hyperactive Member Abdulrahman's Avatar
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    281

    re:

    thanks a lot!

    i'll give it a try..

    (although I though only system type programs go in the system try)...

    Abdul
    1+1=3
    make life simple, use a calculator!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width