cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wheinsohn
Level 4

custom text in AskOptionsDialog

Just a quick question:
How can I customize the text in the headline field of the AskOptions Dialog? I found the SetDialogTitle, but how can I edit the text right below that?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

You can put a newline escape sequence \n in the middle of the SetDialogTitle string.

SetDialogTitle(DLG_ASK_OPTIONS, "Headline\nSubheading"); gives the attached figure:
0 Kudos
wheinsohn
Level 4

Thanks Robert,

this works great! But having another method parameter would be nicer and more consistent in my opinion. Something a la:

SetDialogTitle ( nDialogId, szTitle, szSubTitle );
0 Kudos