NITPICK - a viewer and checker for Windows dialog templates

In this ordinary-looking dialog

one finds, among other problems,

misaligned items, (Click Here for larger image)

inconsistent row spacing, (Click Here for larger image)

and unaesthetic tab order. (Click Here for larger image)

Nitpick is a tool that helps to find such problems.

Environment: Stand-alone tool for use with Visual Studio resource files

Nitpick is a viewer for Windows dialog templates. It reads the dialog templates in a Windows resource (.rc) file and displays item outlines and item attributes. It can search the resource file for page names, item names, and item text. It can navigate from a displayed item to its defining entry in the resource file, and back. Nitpick can also perform a number of inspections intended to find common layout errors and problems.

Disclaimer

NITPICK is contributed AS IS, with no warranties of any kind, including warranties of MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. It is distributed only as an executable. Source code is not available.

Documentation

The Nitpick executable includes a Help window with program documentation that may be copied to a text editor or word processor for printing.

Updates

Nitpick updated September 19th to address issues raised by three early users:

  • Nitpick now accepts and displays generic CONTROLs, which is what the Visual Studio dialog editor creates for Active-X controls.
  • Nitpick now accepts and displays COMBOBOXEX controls.
  • If a file path is specified on Nitpick's invocation command line, Nitpick loads and displays the file when it starts.

Downloads

Download executable - 45 Kb


Comments

  • NITPICK - a viewer and checker for Windows dialog templates

    Posted by Legacy on 10/11/2001 12:00am

    Originally posted by: Rick Jones

    Great idea. I tried your program, but it doesn't like CHECKBOX.

    This seems like a standard control, and all my apps use it, so this program can't help me until this is fixed.

    Good luck.

    Reply
  • Good idea but not at the right place

    Posted by Legacy on 09/18/2001 12:00am

    Originally posted by: yawar

    I like the idea, but the implementation is buggy and above all this is not a platform where you come and show off your work and not share the code.

    Reply
  • No Source Code

    Posted by Legacy on 09/17/2001 12:00am

    Originally posted by: Jim Musson

    I thought the purpose of this web site was to share source code.

    Reply
  • Problem with CComboBoxEx

    Posted by Legacy on 09/14/2001 12:00am

    Originally posted by: Michael A. Dice

    I get an incorect token error.

    Reply
  • Problem with conditional resources

    Posted by Legacy on 09/13/2001 12:00am

    Originally posted by: Victor Vogelpoel

    I'd love to check my resource file with this tool, but it fails on conditional dialogs that I have.

    My app can be compiled for three resolutions and thus a dialog is present three times with three conditions:
    IDD_ABOUTBOX, condition S240X320,
    IDD_ABOUTBOX, condition S640X240,
    IDD_ABOUTBOX, condition S640X480

    But the tool can't handle this, unfortunately. It fails on the '#else' part, below:

    #if defined(APSTUDIO_INVOKED) || defined(S240X320)
    #if defined(APSTUDIO_INVOKED)
    IDD_ABOUTBOX$(S240X320) DIALOGEX 0, 0, 158, 165
    #else
    IDD_ABOUTBOX DIALOGEX 0, 0, 158, 165
    #endif
    STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
    CAPTION "About"
    FONT 8, "MS Sans Serif", 0, 0, 0x1
    BEGIN
    ....

    Any chance of an update?

    Victor

    Reply
  • What about ActiveX controls?

    Posted by Legacy on 09/13/2001 12:00am

    Originally posted by: Holger Strauss

    Brilliant. I'd really like to see MS integrating this tool into their developer studio.
    However, one major drawback is that nitpick does not seem to like ActiveX controls in the dialog (syntax error, incorrect token).

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Packaged application development teams frequently operate with limited testing environments due to time and labor constraints. By virtualizing the entire application stack, packaged application development teams can deliver business results faster, at higher quality, and with lower risk.

  • Do you know where your data is? Consumer cloud-based file sharing services store your sensitive company data on servers outside of your control, outside of your policy and regulatory guidelines – maybe even outside your country – and not managed by you. The potential for data leakage, security breaches, and harm to your business is enormous. Download this white paper to learn about file sync and share alternatives that allow you to manage and protect your sensitive data while integrating and …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds