menubar = getShell().getMenuBar();
public OleFrame(Composite parent, int style) {	// set up widget attributes	super(parent, style | SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS);		createCOMInterfaces();	// setup cleanup proc	listener = new InternalListener();	addListener(SWT.Dispose, listener);	// inform inplaceactiveobject whenever frame resizes	addListener(SWT.Resize, listener);		// inform inplaceactiveobject whenever frame moves	addListener(SWT.Move, listener);	// By default, set the menubar to the current frame's menubar	menubar = getShell().getMenuBar();	// Maintain a reference to yourself so that when	// ClientSites close, they don't take the frame away	// with them.	this.AddRef();		// Check for focus change	Display display = getDisplay();	initCheckFocus(display);	initMsgHook(display);}