Questions tagged [handles]

175 questions
1
vote
1 answer

Access gui handles in a callback function triggered by an object outside of the gui in Matlab

I built this GUI in Matlab to interact with data. I have created a data environment object to facilitate interaction with data. This object triggers events and I want the GUI to listen to some of these events. So, as you can see in the code below I…
PierreE
  • 675
  • 1
  • 11
  • 23
1
vote
1 answer

Delphi, Handles in TPanel objects

I was reading the source code for tmplayer and MPUI, both media players that use MPlayer as a backend to play media files in Delphi and I noticed here as well as in other older codes that I tried to experiment with that I can't use…
dearn44
  • 3,198
  • 4
  • 30
  • 63
1
vote
1 answer

Matlab gui - cannot set text box value on button push if directly run .fig file

I'm making a GUI for the Bisection method in matlab and when I push the button to calculate the root I'm displaying the result in a text box field called rezInput. If I open the *.m file and run the gui from here - everything works. The problem: If…
Tanase Butcaru
  • 962
  • 1
  • 10
  • 23
1
vote
1 answer

Saving a matlab figure and keeping all handles

I am trying to produce a figure in MATLAB with a popupmenu that changes the axes of a subplot. This works so far. But when saving the figure using File > Save, my handles get deleted and it shows me the following error message: Error using…
FMu
  • 13
  • 4
1
vote
3 answers

MATLAB 2013a GUI saving handles fails in checkbox callback

I'm making a GUI that reads out data from a measurement board via a serial interface. It consists of 8 channels and I want to be able to enable and disable the channels in the figure plot, but the state of my variable handles.channelsEnable isn't…
cor55555
  • 13
  • 2
1
vote
1 answer

forlooping handles in matlab

I have a question regarding for loops. I have 10 textboxes that are named, text1_data, text2_data... text10_data. What i want to do is to loop the thing so i don't have to write every single possible outcome by hand. (a should be able to be pretty…
1
vote
1 answer

jQuery Resizable handles setter not working

i'm using jQuery UI Resizable, and i need to set handles option after the initialization. I followed the API example and initialization method works just fine, but setter method seems not working. Am i missing anything? // Initialization works…
pumpkinzzz
  • 2,907
  • 2
  • 18
  • 32
1
vote
0 answers

Handle Tables vs Raw Pointers vs Smart Pointers in C++

I have been reading "Game Engine Architecture - Jason Gregory" and he makes the statement: A handle acts like a smart pointer in many ways, but it is simpler to implement and tends to be less prone to problems. A handle is basically an…
skimon
  • 1,149
  • 2
  • 13
  • 26
1
vote
2 answers

Evaluating a minidump with windbg

I wrote a program with C# (.NET 4.0) and distribute it with the publishing assistant of C# Express. It works fine for most of my users but one. While installing he gets an error that my application has stopped working. So he sent me the mdmp-file of…
Marco Frost
  • 780
  • 3
  • 12
  • 25
1
vote
3 answers

Find handles with a specific pattern

I have some handles that look like: ans = figure1: 189.0205 sampleNameEdit: 17.0216 selectCatPopup: 16.0237 radiobutton_Al: 14.0266 radiobutton_O: 190.0183 …
1
vote
2 answers

Xcode iOS7 iPad: Adding handles to images to allow re-sizing and rotation

I am looking to alter an existing iOS application so that instead of using multi-touch gestures to size and rotate images (two-finger pinch/zoom and twist), I want there to be a handle on all four corners of the image and one at the top so that the…
Morgan
  • 39
  • 8
1
vote
2 answers

AddHandler vs. Handles - what is the difference?

I understood that Handles is only one way to add in constructor the AddHandler, but in general are these two are equivalent?
serhio
  • 28,010
  • 62
  • 221
  • 374
1
vote
1 answer

Updating GUI handles when using callback

I have a GUI made from GUIDE and I cannot figure out how to update a GUI handle when I call a callback in a callback. So for instance in the function which calls the function all I have is the following: function start_ss_Callback(hObject,…
Niseonna
  • 179
  • 2
  • 3
  • 13
1
vote
1 answer

Eclipse Unhandled event loop exception No more handles in windows 7

I'm facing this error in Eclipse All the time. It occurs every couple of minutes in random cases. I'm using windows 7 64 bit with latest jdk 7 and latest Firefox ( I have seen in many such cases in linux about mozilla ). Version: Juno Service…
Panos
  • 7,227
  • 13
  • 60
  • 95
1
vote
2 answers

Finding the number of USER Objects used by a process

I'm investigating a possible memory leak which is causing an "Error creating window handle" Win32Exception in my .NET 2.0 WinForms app. This is related to number of Handles and number of USER objects (most likely) so I'm trying to log these metrics…
Ken
  • 1,830
  • 3
  • 20
  • 32