cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rouellette
Level 2

Customize SQLServerSelectLogin2

I'm trying to customize SQLServerSelectLogin2 but not having much luck. The changes I'm trying to make are really very minor. I would just like to modify what is being displayed in the title and description areas.

Can anyone direct me to the correct information?

Thanks:confused:
Labels (1)
0 Kudos
(3) Replies
Snoopstah
Level 7

I think you need to change the values in your installscript.

First define the control id's for title and header
#define ControlId_50 50
#define ControlId_51 51

Then before calling the dialog you need to set these values to what you want
CtrlSetText (szDialogName, ControlId_50, 'My title here);
CtrlSetText (szDialogName, ControlId_51, 'My desription here');

Hope that points you in the right direction.
0 Kudos
rouellette
Level 2

Yeah, problem is that SQLServerSelectLogin2 is a stock dialog. I can't even edit and clone it because it's not showing up in my list of dialogs. So I don't know how I'm going to be able to figure out what the control IDs are for the title and description.
0 Kudos
Snoopstah
Level 7

Control ID 50 and 51 are used for all titles and descriptions. I assume you are calling the dialog from within the installscript function "OnSQLLogin". I'm sure you change the values there before calling the dialog.

Otherwise, you can select edit on the dialog in dialogs view and clone the dialog. See this thread http://community.macrovision.com/showthread.php?p=398647#post398647
0 Kudos