I'm trying to access the double click message in my VC++ (6.0) program message loop.
the callback procedure is defined as:
LRESULT CALLBACK WndProc(HWND hWnd,UINT uMessage,
WPARAM wParam, LPARAM lParam)
just so you know which one i'm talking about. I'm not using MFC.
I've read that it is supposed to be "WM_DBLCLK" or "WM_LDBLCLK" and have also read that I need to set the window class style member to CS_DBLCLKS to catch the message. None of this works.
Also, I would appreciate if someone could point me in the direction of how to draw a circle. is there a function which takes the radius and center point to draw it? I'd really rather not use the LineTo(...) function over and over again just to draw a circle.
Finally, does anyone know anything about splines? I can't find any info on them. I need these to connect the circles.
My problem is that I missed a final last semester and now my "makeup" is to write a fully functional automata simulator (including dfa's, nfa's, turing machines, and cfg's). I've got the "simulation" part down just fine, I just need to show it using graphics in vc++. I told the prof I'd have something to show him by the end of the week- so I'd really appreciate some help. I can't offer many points yet, because I'm a new member and just found this place, so I'm offering all I have.