Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying windows dialogs boxes from dhtml

Status
Not open for further replies.

sunshine9

Programmer
Aug 1, 2002
21
US
Hello,

I am trying to convert some C++ code that puts up a windows dialog and has a color picker control, among other things, into a dhtml page.

I know nothing about dhtml and jscript. so, the question is, is there a way for me to inherit windows dialogs and pop them up from my web page?

can someone give me a sample?

thanks in advance,
 
What type of dialog box do you want? Like this?

<script>
var answer=confirm(&quot;Are you sure?&quot;);
if(answer==true){
alert(&quot;He's sure!&quot;);
}else{
alert(&quot;I think he's confused ;-).&quot;);
}
</script>

Rick -----------------------------------------------------------
 
hi rick,

i need to inherit a common windows dialog, like the color picker dialog.

something like this:
System.Windows.Forms.ColorDialog.ShowDialog();

any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top