--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> 
> >     case GCS_VALIDATEA :
> >       if (lstrcmpiA(pszName, szCommandA)) hr = S_FALSE;
> 
> If I understand this correctly, it is saying that you return s_false 
> unless the input command is your command.  

Right!

> But what if you want to 
> register "Edit" for all files except ones that had another (static) 
> handler?  I guess you would have to check the registry and also 
> return s_false if a program had statically registered Edit.

I don't think a handler should do that.  I suppose it's possible but
it would be a lot of work.  To do so correctly, a handler would have
to not only check the registered verbs, but also query all the other
handlers (by calling each one's GetCommandString() with GCS_VERBA/W)
to see if anyone else was using "Edit".

> I don't have HexWorkshop but I assumed it was putting a comamnd 
> name "Edit" command on the menu and that this was also its command 
> name.  Possibly it should use HexEdit?

No, it's not.  It's only inserting a command called "Hex Edit with Hex
Workshop" but it's reacting (and it shouldn't) when ShellExecuteEx()
is called using "Edit" and SEE_MASK_INVOKEIDLIST.

 - Vince






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to