What is the best library to use these days for developing in Visual C++? I had to write some VCpp code a few days ago using the Winhttp api and it was a nightmare. I'm not sure if its because I've been spoiled rotten by python where you can do a get/post request with a few lines of code, and that this is just how CPP is, but most of the complications are to do with calling and using the (not very well) documented API…
Comments by a developer inside the Windows Media Player source code
81–90 of 135 posts
Re: Comments by a developer inside the Windows Media Player source code
#82Pulchritude!? Boy, I had to look that one up!
Gonna take a gander and guess the developer might have an Indian origin! Or at least studied for the GRE!
* https://www.dl.cambridgescp.com/dl_course/book-i
A random other example: https://www.ocr.org.uk/Images/221512-gcse-latin-j282-defined...
Re: Comments by a developer inside the Windows Media Player source code
#83Earlier quoted context omitted.
> But key events should be on key-down Why? I like how keyup is less ambiguous: it avoids the question “what do I do if the user is holding the key down?” I also like being able to hold the key down to cue up a command and then at the right time, pull my hand away to execute crisply. For video editing mainly. I’m not saying keyup is the only answer. Just that there isn’t one obvious answer.
Keydowns have the physical button analogue: when you press a physical button, it immediately closes the contact, it doesn't wait until you lift your finger again. Not saying key down is better than key up, there are certainly arguments for both.
Re: Comments by a developer inside the Windows Media Player source code
#84The bug here is in media player to listen on key-up events. Mouse-button-up makes sense because the user can move the mouse to cancel the click. But key events should be on key-down and that's how it is done most of the time. So if you use key-up you run into these problems.
“But key events should be on key-down” Should they, in general? If you want to press a key combination, you never press the two keys at exactly the same time. So, if key events were on key-down, you would have to press modifiers before letters to type capital letters, use keyboard shortcuts, etc. I think that would be annoying and slow typists down. It also rules out using bare modifier key presses as input methods,…
Re: Comments by a developer inside the Windows Media Player source code
#85Lecturing on keyboard shortcuts when windows media player is the only video player in the world not using the space bar as a shortcut for play/pause.
Re: Comments by a developer inside the Windows Media Player source code
#86Pretty much what I am expecting from Windows based software considering the mess windows always was and is to this day.
Re: Comments by a developer inside the Windows Media Player source code
#87Lecturing on keyboard shortcuts when windows media player is the only video player in the world not using the space bar as a shortcut for play/pause.
Re: Comments by a developer inside the Windows Media Player source code
#88Lecturing on keyboard shortcuts when windows media player is the only video player in the world not using the space bar as a shortcut for play/pause.
Re: Comments by a developer inside the Windows Media Player source code
#89Re: Comments by a developer inside the Windows Media Player source code
#90This is why I love open source. In LibreOffice, cruft like this is often removed due to the embarrassment factor.
It was removed from Microsoft code too. This is an old snapshot of the code, almost two decades old. Since the 2002 TWC initiative, anything from easter eggs to things like that are all very strongly banned, and actively get removed as they're discovered.