>     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.  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.

                        
> That seems like bad behavior and I hope it's not what HexWorkshop 
is
> trying to do.  IMHO, a handler should only handle the request if 
the
> command selected by the user matches the command it put on the 
menu. 

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?








(2) to validate that the user has selected **its** command.

Is this documented anywere?


> 
> > PowerPro IContextMenu does nothing for this handler except 
return a 
> > null string and I would if that would cause issues.
> 
> I don't know what you mean there.
> 

Pproctx.dll implements IContextMenu but  GetCommandString returns 
the empty string always and NOERROR, so I was not interetsed in 
implemented help (could have beent he tool tip from  the Context CL 
item, I guess) and since I knew nothing about your function (2) 
above.  I have not heard of a circumstance where this caused a 
problem, but maybe I a missing something.




>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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