469,299 Members | 2,073 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

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 5438
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.