What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » CommonDialog help

CommonDialog help
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: CommonDialog help
Hmm, okay, that was my bad. I assumed that 1*undefined would result in 0, but it gave me NaN. Well, you can change that line to something like:
jscript code:
hwnd_owner = hwnd_owner ? 1*hwnd_owner : 0;
which this time has been tested and I confirm that it works. :P Just trying to make that parameter optional. :)

As already mentioned: don't make two identical features with just different names, that completely ruins the idea of grouping code in a function! Simply keep one BrowseForFile function, call it when necessary and do stuff with the result afterwards. ;)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
11-25-2008 05:20 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
CommonDialog help - by Otacon on 11-24-2008 at 06:46 PM
RE: CommonDialog help - by MeEtc on 11-24-2008 at 06:57 PM
RE: CommonDialog help - by Matti on 11-24-2008 at 06:59 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 07:12 PM
RE: CommonDialog help - by Matti on 11-24-2008 at 07:38 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 07:57 PM
RE: CommonDialog help - by matty on 11-24-2008 at 08:03 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 08:16 PM
RE: CommonDialog help - by Spunky on 11-24-2008 at 08:48 PM
RE: CommonDialog help - by matty on 11-24-2008 at 09:20 PM
RE: CommonDialog help - by Otacon on 11-24-2008 at 09:23 PM
RE: CommonDialog help - by Matti on 11-25-2008 at 05:20 PM
RE: CommonDialog help - by Otacon on 11-25-2008 at 06:02 PM
RE: CommonDialog help - by matty on 11-25-2008 at 06:27 PM
RE: CommonDialog help - by Otacon on 11-25-2008 at 06:29 PM
RE: CommonDialog help - by CookieRevised on 04-11-2011 at 07:51 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On