MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Control Removal[Next]: Dynamically Update Dialog Controls
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Tips and Tricks->User Interface Tips->Add Dialog Identification To Titlebar

Add Dialog Identification To Titlebar

Sometimes it can be hard when manipulating the user interface to work out which dialog does what.

The following code shows how all existing dialogs can be tweeked to preceed the existing title with the dialog name in square brackets so that as you move from dialog to dialog the name is readily visible:

#define? UISAMPLE_DIALOGS_ID_IN_TITLE.D  N   ;;In developer mode?
#define? UISAMPLE_DIALOGS_ID_IN_TITLE.P  N   ;;In production mode? - probably not!
#if ['<$UISAMPLE_DIALOGS_ID_IN_TITLE.[MMMODE]>' = 'Y']
    ;--- We wish to add the dialog name to the title ------------------------
    <$Table "Dialog">
        <$Row @Where="" @OK=^? > 0^ *Title=^"[\[]" & <$COLSTR.Dialog.Dialog> & "[\]] - " & <$COLSTR.Dialog.Title>^>
    <$/Table>
#endif


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Control Removal[Next]: Dynamically Update Dialog Controls


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Thursday August 28 2008 at 11:28am
Visit MAKEMSI's Home PageThis external link was OK when tested at 13 Aug 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008