Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sjspain

    Completing forms (for programmers)

    Any programmers out there that know of an Active X control (or other .exe) which allows the user to select and display a form (say, a .pdf file), mark it up on the tablet pc, and then save the image (the markings combined with the form) in a reusable and easily shared format? I am looking at...
  2. sjspain

    Playing sounds sequentially

    Pete, Thanks for the WM_TIMER tip. This turned out to be just the solution I was looking for. I REALLY appreciate your help!
  3. sjspain

    Playing sounds sequentially

    I think this is perhaps the solution I was looking for! Thanks, Steve
  4. sjspain

    Playing sounds sequentially

    Gee, thanks for all the info. I am going to look over the lower level functions again and see if they will provide me with way to do what I want. The problem with PlaySound Timer PlaySound Timer PlaySound is that (if they are called in the ButtonWndProc) control is not released to the user...
  5. sjspain

    Playing sounds sequentially

    Well, sorry I frustrated you... re: your "Second..." Getting back to my original PlaySound problem, I am trying to play a sound, start a timer in a separate thread, paint a window, return control to the user, and when the timer thread runs out send a message to the UI thread to repeat...
  6. sjspain

    Playing sounds sequentially

    any difference bwtween that and DWORD ThreadID = GetWindowThreadProcessID(hWnd, NULL); ? In response to WM_LBUTTONUP, I have used the above and sent &ThreadID to my thread proc: _begingthread(MyProc, 0, &ThreadID); and in my thread proc I call: PostThreadMessage(*pThread, WM_LBUTTONUP...
  7. sjspain

    Playing sounds sequentially

    Oh, I know how to get the thread ID of the new thread, but what about the original thread ID? How do I get that? Steve
  8. sjspain

    Playing sounds sequentially

    Thanks, Pete, I will work on it. Steve
  9. sjspain

    Playing sounds sequentially

    Will, I like your idea IF the timers are on a separate thread so that the WndProc can return control to the user after PlaySound and spinning off the timer thread. I seem to recall something, though, about not being able to send messages to the queue from a new thread, so I wonder if calls to...
  10. sjspain

    Playing sounds sequentially

    Well, let me back up a minute... The reason I want the sounds played separately is so I can call InvalidateRect() between them and "automatically" update the window. For example, on LBUTTONUP from a Window's child button, initiate the sequence: Draw the window Play a sound...
  11. sjspain

    Playing sounds sequentially

    The problem with using the SND_ASYNC flag is that, if you have several sounds playing in a row, each call to PlaySound stops the currently playing sound to play its sound, with the result being only the last call to PlaySound is heard. Is there a function that checks to see if the audioplayer...
  12. sjspain

    Playing sounds sequentially

    I have tried this, but apparently when the SND_SYNC flag is used, whether in a separate thread or not, the system waits for the sound to finish playing before any other messages are processed. I will try it again, but I am pretty sure this is what I ran up against last night.
  13. sjspain

    Playing sounds sequentially

    Is there a way to use PlaySound() to play several sounds sequentially (as if each call was made with the SND_SYNC flag) but still return contol to the user at the start of playing the first sound? If the SND_ASYNC flag is used, only the last sound will play, of course. What I want to do is...
  14. sjspain

    CreateDIBSection

    Thanks, I will check it out. Steve
  15. sjspain

    CreateDIBSection

    Hi, I am new to this forum. I am trying to learn how to use CreateDIBSection, BITMAPINFOHEADER, etc. Can someone point me to some sample code for Win32? I program for CE devices, and I am working on how to rotate a bitmap. The CE text I normally use (Boling) is pretty sketchy on the subject...

Part and Inventory Search

Back
Top