Blocking the Windows Screen Saver in Delphi

Sometimes your program needs to block the screen saver from automatically kicking in. My use case was that the program was recording data and whenever the screen saver was active, the data was lost (No idea why, it probably had something to do with the way HID is implemented in Windows.) So I was looking … Continue reading Blocking the Windows Screen Saver in Delphi

Deleting unwanted entries from the “New” submenu of Windows Explorer

Microsoft Office has the annoying habit of adding itself to various places in the Windows user interface. One of them is the popup menu of the Windows Explorer. It adds one entry for each of the installed programs to the "New" submenu. Have you ever used them? I have only used that submenu for creating … Continue reading Deleting unwanted entries from the “New” submenu of Windows Explorer

Extend the event OnClick of all MenuItems in the screen to execute another block of code

Shameless self promotion: On StackOverflow somebody asked the question in the title and I answered it. And as you might have guessed, I am mighty proud of having had that idea. It might be interesting to know that this is how GExperts fixes some of the IDE bugs and enhances some forms: It creates a … Continue reading Extend the event OnClick of all MenuItems in the screen to execute another block of code