Article View: borland.public.cppbuilder.nativeapi
Article #9978Re: invoke "file properties window"
From: Bob Gonder
Date: Tue, 01 Jun 2004 22:38
Date: Tue, 01 Jun 2004 22:38
15 lines
1716 bytes
1716 bytes
Mortz wrote: >I tried both ways but nothing happens, I mean is like if the system was >ignoring the call... Check the return value. Probably FALSE. > SHObjectProperties(hwnd,OPF_PATHNAME,(wchar_t *)file.c_str(),NULL); Do you perhaps mean SHOP_FILEPATH instead of OPF_PATHNAME? Also, I don't think that is the proper way to get a wide char string out of a String. I don't use them so don't know, but IIRC, they have a WideChar() member function. Also have a look at StringToWideChar()
Technical Details
Message-ID:
<fhupb05f3qi9o1jdvr793bp3q0shd48vue@4ax.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40bb54a2$1@newsgroups.borland.com> <40bb600f@newsgroups.borland.com> <40bca1c2$1@newsgroups.borland.com> <40bcbf5b$1@newsgroups.borland.com> <40bcf046@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1de9d7beecb3f3a1 X-Google-Attributes: gid10cc67,public From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: invoke "file properties window" Date: Tue, 01 Jun 2004 15:38:03 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <fhupb05f3qi9o1jdvr793bp3q0shd48vue@4ax.com> References: <40bb54a2$1@newsgroups.borland.com> <40bb600f@newsgroups.borland.com> <40bca1c2$1@newsgroups.borland.com> <40bcbf5b$1@newsgroups.borland.com> <40bcf046@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.99.167 X-Trace: newsgroups.borland.com 1086129480 69.69.99.167 (1 Jun 2004 15:38:00 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail