Paint my window

This is a discussion on Paint my window within the Windows Programming forums, part of the Platform Specific Boards category; My game allows a user to select a file to use as music using the Windows File Dialog and FMOD ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    380

    Paint my window

    My game allows a user to select a file to use as music using the Windows File Dialog and FMOD to play the music. When the music file is large in size it causes the client area of my game not to update. How would I make it possible to display a loading message and to load the file?
    Don't you dare hit me on the head, you know I'm not normal.
    A Stooge Site
    Green Frog Software

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,649
    Is an FMOD api taking too long to complete?

    gg

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    380
    Yes, when I call FSOUND_SampleLoad or FMUSIC_LoadSong to load an audio file.
    Don't you dare hit me on the head, you know I'm not normal.
    A Stooge Site
    Green Frog Software

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,649
    If those routines are thread safe, you can try performing those lengthy calls in another thread.

    This is an advanced subject, so if you don't know how to do this, start here:
    Multithreading for Rookies

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 06:57 PM
  2. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 07:14 AM
  3. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  4. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 10:06 AM
  5. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21