Startup Cop

PC Magazine

  PC Tech

Take Charge of Windows Start-up


Using Startup Cop

The Start-up Programs

Saving Profiles

The Restore Profile Tab

Startup Cop and Windows 98

Inside Startup Cop

Disabling and Removing Items

Reading and Writing Shortcuts

Simulating Context Help

  Startup Cop
Take Charge of Windows Start-up
Inside Startup Cop

Continued from Startup Cop and Windows 98

Startup Cop uses the same technique as Windows 98 to disable items, and extends it to permit the deletion of items. In this section I will describe the techniques used, and how Startup Cop ensures that the user has restarted Windows before allowing deletion. Startup Cop needs the ability to manage shortcuts; it reads shortcuts that define start-up items, and writes shortcuts that load profiles. The pair of all-purpose functions I devised to read and write shortcuts is also of interest. Startup Cop's detail window looks like a standard help-context pop-up, but it's not. The help system's text is hard-coded, and Startup Cop needs to display system-specific information in the detail window. I will describe how I simulated a help-context pop-up as closely as possible, right down to the drop-shadow.

Next: Disabling and Removing Items

Published in the 4/20/99 issue of PC Magazine.