www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/opencontext.m

    function opencontext(h,Hax,x,y)
%OPENCONTEXT  Open a context menu for the current node
%
%  OPENCONTEXT(CGB, Hax, x, y) where Hax is the handle to the originating
%  panel object will display the browser's tree/list context menu.

%  Copyright 2000-2011 The MathWorks, Inc. and Ford Global Technologies, Inc.


if h.GUIExists && ~isnull(h.SelNode)
    opencontext(h.SelNode.info, Hax, double(x), double(y));
end