Okay, I write something more, so that you understand my problem:
i try to read in unsigned char from a file like that
ifstream confdat(file);
confdat >> iList.i_time_8;
All goes well, but if i try to read in any hex code from 0x09 to 0x0D i get data trash...
Hi,
can anybody explain to me, how to use the ScreenToClient function I've done this:
IntPtr hwnd;
hwnd = panel1 -> get_Handle();
ScreenToClient(hwnd, mousePos);
where panel is a Panel and the mousePos is a Point. The Error I get is: can't convert IntPtr to HWND
thx for help
Eeeh,
I don't know, but I have some new information:
if i write "while(true);" after the lines in the draw_Graph() method i see the lines, but the pictureBox is transparent and seems not to be completely initialized... perhaps that helps
Hi there,
the pointers are equal and the coordinates are okay, too. If I write draw_Graph() into the pictureBox1_click(...) method he draws the line, only if I write it into the start() method he doesn't.
I initialized the p_graphics pointer like that: code p_graphics = this -> pictureBox1 -> CreateGraphics(); /code
Did you want to know that? It is initialized in the start() method... I post the impotant things:
code System::Void start() {
this -> Show();
p_graphics = this ->...
Hi,
I've got a problem. I've got a class called haupt and another class called neben. In the neben class there is a pictureBox item and I want to draw a line into it.
Therefor I write in haupt: neben* p_neben = new neben();
neben.start();
in the start method i write this -> Show(); and after...
Hi,
I wanted to ask if anyone can say where I can get new Toolbox items (these little things you can drag and draw onto your GUI, like buttons and stuff).
I'm searching for a Graph, where you can drag a line on a few points and then get the values from this line at special points.
Thx
Hi,
you don't get my problem i think, perhaps i described bad...
it's like that: i have this element class. okay if i wirte element* ele = new ele there is memory allocated on the stack or elsewhere.
but my problem is, that automatically there is memory allocated for the next pointer without...
Hi,
i've got a problem. i want to implement a class called element, which has a pointer called ele, like this:
class element {
int i_a;
element* p_ele;
}
but if i write: element p_new = new element; the pointer p_ele won't point to NULL but to a location, where i_a is initialized whith 0...
Hi,
i've got an compiler error at my project, and wanted to ask if anyone can explain what that means:
Der Typ 'DimmSteuerung.newEntry' wurde nicht gefunden. Stellen Sie sicher, dass auf die Assembly, die diesen Typ enthält, verwiesen wird. Wenn dieser Typ Teil Ihres Entwicklungsprojekts...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.