The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Using MS ActiveX RICHTEXT.RichtextCtrl.1
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Tilo Wünsche

Posts: 2
Registered: 1/23/06
Using MS ActiveX RICHTEXT.RichtextCtrl.1
Posted: Jan 30, 2013 6:20 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I try to use drag and drop in a MatLab application using the MS ActiveX RICHTEXT.RichtextCtrl.1.

As long I put all code to a sample figure all works fine. For convenience reason I would like to use the guide. I just implemented the necessary code like below. When I try to drag a file to the ActiveX it will be handled by the ActiveX itself, e.g. the file will show up as attachment to the ActiveX. My function is not called.

Has anybody an idea to solve this problem?

function uhu_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to iTecLogfile (see VARARGIN)
handles.output = hObject;
%handles.activex1.registerevent({'KeyUp', @richtextKeyUp});
handles.activex1.registerevent({'OLEDragDrop', @richtextOLEDragDrop});

% Update handles structure
guidata(hObject, handles);
data = struct();

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.