Monday, May 22, 2006

Programming, RunAsAdminExplorer Shim v2.0.0.Beta7

Bugfixes and some new interesting feature. Enjoy!

    v 2.0.0.Beta7
    In RAACommCtrl
    - BUG FIX: #1455711 temporaly fix: Dialog items reordered and replaced to fit into a 800x600 box. TODO: we have to make the dialog tabbed.
    - BUG FIX: #1455948 fixed, added new option PerfomanceOptions::AllowPriorityAdjust via RAA could maintain priority of itself and Windows Explorer.
    - BUG FIX: #1475406 fixed, added new option PerformanceOptions::AllExplorerInstances to allow automatic priority adjust of every running Windows Explorer instances.
    - BUG FIX: Fixed bug and prevent OptionDialog to modify other user's settings. If OptionDialog called from (e.g. ShellExt of) impersonated processes the caller should not have to allow OptionDialog to be used (like RAAShellContextMenu does now)
    - Added modeless dialog implementation of About and Option dialog. It eliminates the problem of modal dialogs does not handle RAA global events, therefore a lot of functions failed while modalboxes run.
    - About dialog now has active url links.

    In Explorer.exe
    - BUG FIX: #1455948 fixed, added nem option to let RAA adjust task priorities and RAA and Windows Explorer priority adjusted according to the selected option, also added code to always adjust the priority in idle time if changed.
    - Changed LoadIcon calls to LoadImage to load the correct size icons.
    - Detection if explorer.exe started enhanced in IsExplorerAvailable(), pre test-creation of the tray icon added
    - BUG FIX: #1447062 fixed, First instance now set the instance guard event security DACL to let access and some control of the instance event from another process, even in a terminal server environment.
    - BUG FIX: Fixed bug and prevent OptionDialog to modify other user's settings. If OptionDialog called from (e.g. ShellExt of) impersonated processes the caller should not have to allow OptionDialog to be used (like RAAShellContextMenu does now)
    - BUG FIX: #1475406 fixed, added new option PerformanceOptions::AllExplorerInstances to allow automatic priority adjust of every running Windows Explorer instances.
    - Still did not used the correct icon sizes for the big icon. :$
    - Added modeless dialog implementation of About and Option dialog. It eliminates the problem of modal dialogs does not handle RAA global events, therefore a lot of functions failed while modalboxes run.
    TODO: we still have one modal dialog Command Dialog!!! We have to replace it with a modeless version!!!
    - Removed some temporaly limitations after the modeless correction made.

    In RAAShellContextMenu
    - BUG FIX #1447065 fixed, Changed LoadIcon calls to LoadImage to load the correct size icons.

    In RunAsAdminHook
    - BUG FIX: - Using a new hook and message (WM_RAA_PRIVINFO_DRAW) to repaint our priv caption, not drawing directly in CallWndRetProc to let some time windows to process the paint of the original window caption first. It fix the bug that could be detected f.e. in windows explorer when just simply selected a different folder in the browser tree and priv caption has not been repainted.