is that really speeding you up that much not to call TranslateMessage and DispatchMessage? hmmm interesting
The one thing I would as is are you calling DefWindowProc for the ones you're ignoring?...
Type: Posts; User: Hershlag
is that really speeding you up that much not to call TranslateMessage and DispatchMessage? hmmm interesting
The one thing I would as is are you calling DefWindowProc for the ones you're ignoring?...
I don't know why it is that there was such a big misunderstanding here. Maybe I misunderstood no-one somewhere along the way and we went back and forth a few times with nasty comments. But I've...
this is out of hand, I have been trying to be civilized on the last several postings. Is nobody else going to try? Aren't you over this yet? can't you stop the name-calling? I noticed that no-one...
BOOL HitTest(RECT *rect, POINT *pt)
{
return pt->x > rect->left &&
pt->x < rect->right &&
pt->y > rect->top &&
pt->y < rect->bottom;
}
I'll...
http://nehe.gamedev.net is right to the point and easy to follow. Of course, you're results may vary.
subclass the button wndproc. It's not too tough.
GetWindowLong with the GWL_WNDPROC gives you a pointer to the control's callback
SetWindowLong with the GWL_WNDPROC lets you insert your own. ...
pointer to the string is obviously meaningless to the machine you're sending it to so I would suggest just sending a buffer with the appropriate values one after another. The string would be one of...
typedef struct tagPOINT
{
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
Ahh... well you could subclass the wndproc for them but I don't suggest that. What are you trying to do? have mouseover for your buttons? Have you ever tried Windowless buttons? Meaning just draw...
with the "empty project" option you don't need to turn them off. For some reason, procompiled header files are not a default option for that. go figure
well then every wndproc just needs to handle the WM_MOUSEMOVE and update some value that says "HEY, the last window moused-over was me!"
but what's the actual purpose? to get a mouseaway kind of event? if so, I would definitely use SetCapture. Then you just hit test it and release capture when your mouse is not in the window. I...
no SetCapture? hmmmm.... I'm thinking Hook. definitely. you have to do a System wide hook and monitor WM_MOUSEMOVEs. What do you think? maybe somebody knows of an easier way?
out of curiosity, what is it you classify as techno-bable?
never mind, I get it. An alias.
holy crap. that was unexpected. go barjor. much appreciated
disposable insight. possibly incorrect insight. But any time!
you couldn't possibly love him, you've only known him for at most an hour!
Barjor, thanks for joining. I need someone who isn't spewing venom.
Tell me how you have used RCs in multiple threads in the past. I was thinking about kicking out rendering threads every time I...
no-one, what's the matter with you?
no-one, you spent most of this time talking about multiple RCs on a single window like that had anything to do with my question. now, for the first time you are really answering the question. If...
certainly aren't now are you.
is this true? if so, that's all I've been after since the beginning. So then OpenGL would have to be doing a GetCurrentThread internally to tell which RC to use? ...
well the methods you mentioned are the only one's I've seen for winsock. It seems plausable the IRC has a server that will do the DNS lookup for you. As far as I know, you can only ask your own DNS...
dang VB, that's harsh. thanks though. I still am not even saying that I'm sure about this. If the OpenGL people have documented a way of being thread-safe in this circumstance I would love to see...
preach on brother! All programmers can be arrogant, but not all have to be jerks on the board. A board that is likely full of jr.highschoolers anyway. :)