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
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.