Article View: borland.public.cppbuilder.nativeapi
Article #11294Re: include TForm into ShellExtensionDLL
From: Hern�n Tornielli
Date: Tue, 17 Feb 2004 21:32
Date: Tue, 17 Feb 2004 21:32
17 lines
1610 bytes
1610 bytes
"Remy Lebeau (TeamB)" wrote: > Unless the DLL is provided with an HWND from the OS > that should be used, which is not the case for menu handlers. If you actually read the documentation for IContextMenu (which I take it you haven't yet), you will see the following: IContextMenu::InvokeCommand(LPCMINVOKECOMMANDINFO pici) CMINVOKECOMMANDINFO::hwnd hwnd: Handle to the window that is the owner of the shortcut menu. An extension can also use this handle as the owner of any message boxes or dialog boxes it displays. Hernan Tornielli
Technical Details
Message-ID:
<40328834@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<402baeac$1@newsgroups.borland.com> <402bcd77$3@newsgroups.borland.com> <402ebc24$1@newsgroups.borland.com> <402ec23f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,12d8f10b74656960 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-17 13:40:21 PST From: "Hern�n Tornielli" <hernan@nospam.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <402baeac$1@newsgroups.borland.com> <402bcd77$3@newsgroups.borland.com> <402ebc24$1@newsgroups.borland.com> <402ec23f$1@newsgroups.borland.com> Subject: Re: include TForm into ShellExtensionDLL Date: Tue, 17 Feb 2004 18:32:45 -0300 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 200.59.37.181 Message-ID: <40328834@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1077053492 200.59.37.181 (17 Feb 2004 13:31:32 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail