call a function from window.close Programming Web Development by anandhikrishnan …. Is there any option to call a function from w.indow.close or parent.opener. I tried a lot. Plz suggest… API Tutorial Problem Programming Software Development by Some Dude … POPUP "&Blamo" BEGIN MENUITEM "W&indow Smash!", ID_FILE_EXIT END POPUP "&Blurp" BEGIN… Re: airplane seating prices Programming Software Development by karen_CSE … user to "enter the price for <W>indow seats, <A>isle seats.... that's why I… Re: Creating a good game Programming Game Development by Anonymusius Best openGL tutorial I have found is at nehe.gamedev.net And don't think you can jsut jump in on high tutorial's. If you can't set up an wo\indow without copying code your still nowhere. Re: call a function from window.close Programming Web Development by mahavir123 [code] <a href="javascript:window.opener.location.reload();window.close()">Close</a> [/code] It will create a close button in the child window. May this work for you. Re: call a function from window.close Programming Web Development by anandhikrishnan Hi All One thing i forgot to mention the new window is a .jsp file which i am passing in the window.open(URL). In the new window itself i have close image. But when I close the new window I need to call the refreshdash(1); function in the same js thanks in advance Re: call a function from window.close Programming Web Development by Shanti C call parent refresh before closing child window like: [code] window.opener.refreshdash(1); [/code] or something like [code] window.opener.document.location.href = window.opener.document.URL; window.close(); [/code] Re: API Tutorial Problem Programming Software Development by Some Dude P.S. I am pretty much certain that I am just missing some function somewhere to actually create the box, I just can't figure it out >.< ... Rawawarrr. Re: API Tutorial Problem Programming Software Development by Some Dude Well... back again... if you can't tell I am still actively playing with this sucker and ... I intend to figure it out. I got the box working on right click without the menu, but ... when I added the menu... BLAM there goes functionality.... I think I just don't know how to link it to the menu (or the other way around if that's the case)... Re: API Tutorial Problem Programming Software Development by neithan Hi, To sum up, win32 api is a bitch. I'm not an expert on that but until somebody more knowledgeable appears i'd suggest checking http://www.winprog.org/tutorial/dialogs.html to see what you are missing. Also, if you think an error maybe ocurring, try and see what GetLastError() has to say. Re: API Tutorial Problem Programming Software Development by Some Dude That is the verry tutorial I was using to make this thing. I'll go play around with that GetLastError thing and see what it does for me. And ... yeah, it is a total pain, but thus far I like what it can do. Re: API Tutorial Problem Programming Software Development by Some Dude Thanks for the suggestions btw. Re: API Tutorial Problem Programming Software Development by Some Dude AHHHHHHH! It was so.... stupidly .... simple! I was using separate .rc files. one for the menu, and one for the dialog box... and when I put them together into ONE file it worked just fine. So hurah hurah, I figured it out. Re: API Tutorial Problem Programming Software Development by neithan > It was so.... stupidly .... simple! As usual with these things! Glad you solved it.