document updated 15 years ago, on Nov 5, 2009
Basically:
- we'll use AppInit_DLLs to do system-wide hooking
- we'll use Microsoft Detours to do the hook to FlashWindow() and FlashWindowEx()
- when a call to FlashWindow() or FlashWindowEx() comes in:
- call FlashWindow() with bInvert=0, and use the return value to find out whether the
taskbar is currently inverted or not
- if it's NOT inverted, then we allow the call to go through
Cut-n-paste:
- we'll heavily use the GPCul8r code example, because it's so simple and straightforward
http://www.rachner.us/files/GPCul8r/GPCul8r-0.1-src.zip
Do we want to create a nice-n-easy installer?
- NOTE that it MUST use 8.3-style filenames/paths for the AppInit_DLLs path
- does NSIS
1) APPEND to existing registry keys?
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.8.1
http://nsis.sourceforge.net/RegBin_plug-in
ReadRegStr http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2.12
WriteRegStr http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.2.16
http://nsis.sourceforge.net/Macro_vs_Function#Functions
2) can be told to use 8.3 filenames?
(yes, GetFullPathName /SHORT )