472,143 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

changing the title of modal popup dialog

Hi,

Is there a way to change the title of the Popup opened using
window.showModalDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attaching Webpage Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.

Thanks,

Jan 29 '07 #1
3 5530
On Jan 29, 12:33 pm, Sridhar <Srid...@discussions.microsoft.com>
wrote:
Hi,

Is there a way to change the title of the Popup opened using
window.showModalDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attachingWebpage Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.

Thanks,
I would like to do the exact same thing. Did you have any luck? I
will post here if I figure it out.

Jan 30 '07 #2
I didn't find the solution. I will also post here If I get it.

"te**********@gmail.com" wrote:
On Jan 29, 12:33 pm, Sridhar <Srid...@discussions.microsoft.com>
wrote:
Hi,

Is there a way to change the title of the Popup opened using
window.showModalDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attachingWebpage Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.

Thanks,

I would like to do the exact same thing. Did you have any luck? I
will post here if I figure it out.

Jan 30 '07 #3
The plain API instruction is SetWindowText or
it's associated message WM_SETTEXT

You only need the window handle.

Good luck
29 Jan 2007 15:33:01 -0500, Sridhar <Sr*****@discussions.microsoft.comwrote:
Is there a way to change the title of the Popup opened using
window.showModalDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attaching Webpage Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.
Jan 31 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Earl Teigrob | last post: by
1 post views Thread by Samuel Rhodes | last post: by
4 posts views Thread by fran_j_diaz | last post: by
3 posts views Thread by Mike Hofer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.