CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ckorda

Search: Search took 0.08 seconds.

  1. Re: How to raise priority of MIDI input callbacks? Thread pools etc.

    You're mistaken yet again. The purpose of that thread function is merely to burn CPU time for a few minutes, which it does admirably. The printf ensures that the loop (which repeatedly calculates the...
  2. Re: How to raise priority of MIDI input callbacks? Thread pools etc.

    This is certainly consistent with my experience.

    The following test demonstrates disruption of MIDI input callbacks by normal priority threads. After the hogging threads are launched, obvious and...
  3. Re: How to raise priority of MIDI input callbacks? Thread pools etc.

    In what source might I find support for your claim that "the thread gets to complete it's timeslice regardless of whether higher priority threads are available"? This is contradicted by Microsoft's...
  4. Re: How to raise priority of MIDI input callbacks? Thread pools etc.

    Thanks for your reply.

    When I said "realtime priority" what I meant was THREAD_PRIORITY_TIME_CRITICAL, AKA priority 15. Sorry for the confusion. The simple fact is that if you display the priority...
  5. How to raise priority of MIDI input callbacks? Thread pools etc.

    Hi,

    I'm the author of a realtime MIDI software called ChordEase which makes use of the MIDI aspects of the multimedia API, specifically MIDI input callbacks. In XP and before, these callbacks...
  6. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    Windows 7, see post #1.
  7. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    The popup menu places the app in a modal state which is easy to identify. It's no problem to arrange things so that the special handling is only enabled in the desired case. The rest of the time the...
  8. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    My test app now successfully catches Page Up/Down and Home/End during a popup menu, via a message filter hook (WH_MSGFILTER). This solves the first of the two problems posed in post #12. The second...
  9. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    Would you care to elaborate on how the code below differs from a message loop? My impression was that a window procedure is the most basic form of message loop, and that CWnd and message maps and so...
  10. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    The message loop was shown in post #12 above. The fact is that if I subclass (as in replace the window procedure of) a popup menu window, my window procedure does not receive any messages at all for...
  11. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    Right you are. There is some overloading of the term, hence confusion. But the code snippet I posted is subclassing in the sense you mean, specifically the "old" (pre-common controls 6) subclassing...
  12. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    Regarding subclassing menus, it's not clear what this would mean since CMenu isn't derived from CWnd and therefore doesn't even have a message map. I enclose some test code from a dialog app below. I...
  13. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    Thanks but I didn't ask whether it was a good idea, I asked how to do it. The substantive problem is this: Obfuscation notwithstanding, a popup menu is a window. It is relatively straightforward to...
  14. Replies
    27
    Views
    39,208

    Re: scrolling popup menu via Page Up/Down

    Thank you for your response. OK I did say I wanted it to work even though Microsoft and others may think it's a bad idea. If the shortcut keys worked as expected, it wouldn't be so difficult to make...
  15. Replies
    27
    Views
    39,208

    scrolling popup menu via Page Up/Down

    In the case where a popup menu is too long to fit on the screen, I would like it to scroll in response to the Page Up, Page Down, Home, and End keys. Is there any way to accomplish this? It would...
  16. Mixere: open-source audio mixing software for Windows

    Mixere is a free, open-source Windows application for mixing audio files. It has a simple, spreadsheet-like interface that's optimized for live performance, and especially for making live sound...
Results 1 to 16 of 16





Click Here to Expand Forum to Full Width

Featured