It seems like a little wrong thread, but with C++ I'd like this:
// After obtaining the dialog window handle, get the filename edit-window handle:
HANDLE hEdit=FindWindowEx(iHandle,NULL,"EDIT",NULL);// There should be only one edit window// Update edit control:
SetWindowText(hEdit,"full filename you need");
// Simulate OK:
// Update edit control:
SetDlgItemText(iHandle,[Edit control ID],"full filename you need");
// Simulate OK:
Obtain [Edit control ID] with Spy++, it must be a constant.
I'm trying to handle mouse wheel events in the WndProc function and wrote c++ code that works fine with one mouse that has a fly-wheel. I tried the same code with another mouse and I get endless WM_MOUSEWHEEL events when I move the mouse wheel just one notch.
Anyone know why this is happening?
You haven't posted any code or shown what any of the "extra" WM_MOUSEWHEEL events you are getting look like and unfortunately, my crystal ball is in the shop, so you might want to post that kind of information. My guess is that its something in your code, but until I see the messages or your code, I can't really give you any advice beyond that. Darn crystal ball shop, they are taking FOREVER to get my ball fixed.
The idea is to replace the clock with one that is driven by UDP packets. The videos will be silent (the audio turned off, preferably not even decoded).
I have stubbed out what I think is a clock replacement, but what I can't figure out is why my calls to GetCorrellatedTime seem to only occur at the start of playback. I expected GetCorrellatedTime to be called by the playback engine repeatedly.... but that's just not happening. Here's the cpp code for my timesource. Note that it doesn't do much of anything yet... it is just a stub.