![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | Custom dialog boxes Hi everyone, I have a project that has been a work in progress over some time. I am in the process of upgrading and improving, howver my problem concerns the fact I need to use custom dialog boxes. I have been using a custom IE dialog box which, to be honest I don't have a huge understanding of, but have got working within my code. I now need to create a custom IE dialog with dynamic content. This dialog uses a mix of radio, check, select and text inputs. The radio selections are within one group - 3 of them are static but more may need to be added on the fly. There is one checkbox that is static, a dropdown (select) which is static and a checkbox that is static. I know this is a fairly loose description, but could someone help me with the required code to use and support the IE dialog box. PS. I have a fairly good understanding of VBScript for the majority of projects I have undertaken, but I am somewhat lacking when it comes to using IE dialogs whith VBScript. Many thanks, Bill. |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Custom dialog boxes Here's a sample that might help. You might be able to adapt it: www.jsware.net/jsware/scripts.php3#msgb The download has a couple of versions of a VBS class that can be pasted into a script to provide custom dialogues that look like system dialogues. (Screenshot here: www.jsware.net/jsware/msggal.php3 ) Custom msgbox works well with IE5/6, but in IE7 you can't use the Fullscreen property and sizing at the same time, which means that you can't hide the IE border and title bar. It still works, but it looks clunky. As for the specifics, that's really something you need to work out yourself. Without a specific question there's not much anyone can do to help short of writing the msgbox webpage for you. You need to know HTML and hopefully CSS if you're going to write your own msgbox pages. It's a lot of work. If you look at the code in the download above you'll see that getting the window to size properly and position the elements well is the biggest part of the code. Quote: > > I have a project that has been a work in progress over some time. > I am in the process of upgrading and improving, howver my problem concerns > the fact I need to use custom dialog boxes. > > I have been using a custom IE dialog box which, to be honest I don't have Quote: > huge understanding of, but have got working within my code. > I now need to create a custom IE dialog with dynamic content. > > This dialog uses a mix of radio, check, select and text inputs. > > The radio selections are within one group - 3 of them are static but more > may need to be added on the fly. > There is one checkbox that is static, a dropdown (select) which is static > and a checkbox that is static. > > I know this is a fairly loose description, but could someone help me with > the required code to use and support the IE dialog box. > > PS. I have a fairly good understanding of VBScript for the majority of > projects I have undertaken, but I am somewhat lacking when it comes to Quote: > IE dialogs whith VBScript. > > > Many thanks, Bill. > > |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: Custom dialog boxes "Blinky" <wehxxxnospamxx@xxxxxx> wrote in message news:UxxYj.2794$IK1.142@xxxxxx-server.bigpond.net.au... Quote: > Hi everyone, > > I have a project that has been a work in progress over some time. > I am in the process of upgrading and improving, howver my problem concerns > the fact I need to use custom dialog boxes. > > I have been using a custom IE dialog box which, to be honest I don't have > a huge understanding of, but have got working within my code. > I now need to create a custom IE dialog with dynamic content. > > This dialog uses a mix of radio, check, select and text inputs. > > The radio selections are within one group - 3 of them are static but more > may need to be added on the fly. > There is one checkbox that is static, a dropdown (select) which is static > and a checkbox that is static. > > I know this is a fairly loose description, but could someone help me with > the required code to use and support the IE dialog box. > > PS. I have a fairly good understanding of VBScript for the majority of > projects I have undertaken, but I am somewhat lacking when it comes to > using IE dialogs whith VBScript. > > > Many thanks, Bill. > that indicates progress in a program. I use it when my script may take some time: http://www.rlmueller.net/IE%20Display.htm I think it is based on work by Tom Lavedas. You can search the microsoft.public.scripting.* newsgroups for more examples. -- Richard Mueller MVP Directory Services Hilltop Lab - http://www.rlmueller.net -- |
My System Specs![]() |
| | #4 (permalink) |
| Guest | RE: Custom dialog boxes Hi, you also can create custom dialog boxes with Microsoft Standard Components without using IE. Here is a sample using VB-Script an Excel http://www.scriptbox.at.tt/index.php...el%20Makro.vbs "Blinky" wrote: Quote: > Hi everyone, > > I have a project that has been a work in progress over some time. > I am in the process of upgrading and improving, howver my problem concerns > the fact I need to use custom dialog boxes. > > I have been using a custom IE dialog box which, to be honest I don't have a > huge understanding of, but have got working within my code. > I now need to create a custom IE dialog with dynamic content. > > This dialog uses a mix of radio, check, select and text inputs. > > The radio selections are within one group - 3 of them are static but more > may need to be added on the fly. > There is one checkbox that is static, a dropdown (select) which is static > and a checkbox that is static. > > I know this is a fairly loose description, but could someone help me with > the required code to use and support the IE dialog box. > > PS. I have a fairly good understanding of VBScript for the majority of > projects I have undertaken, but I am somewhat lacking when it comes to using > IE dialogs whith VBScript. > > > Many thanks, Bill. > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Dialog Boxes - All Windows Properties Boxes like folder option not displaying text | General Discussion | |||
| All Text Cannot Be Seen In Dialog Boxes. | Vista General | |||
| Copying Dialog Boxes | Vista mail | |||
| Dialog Boxes | Vista General | |||