Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Changing text in custom dialog

3 views
Skip to first unread message

Thruster

unread,
Jul 31, 2000, 3:00:00 AM7/31/00
to
Hi Tony, group

I am doing something similar to what you did, but I am not able to change
the dialog title. I tried using SetDialogTitle with the ID of my custom
dialog, but that didn't work. How'd you do it?

Thanks,

Timothy C. Alvord
tim_a...@gibbsCAM.com


"Tory Graves" <tory....@ips-sendero.com> wrote in message
news:36dad...@news.installshield.com...
> I have created a custom dialog box and through the script file I can
change
> everything except the Static text box. I am able to change the dialog
title,
> the text for the radio buttons, but I can not change the text for a Static
> text control I put on the form. I tried using CtrlSetText but it returns a
> negative, meaning an error.
>
> here is the line of code to do that:
> CtrlSetText( szDlg, IDC_MSG_TOP, "new text here" );
>
> IDC_MSG_TOP = -1 in the resource.h file. Could the fact that it is -1 be a
> problem?
>
> I am using IS5.5
> If you need more info just ask.
>
> Thanks for any help anyone can give me.
> Tory Graves
>
>

0 new messages