« first day (583 days earlier)      last day (4381 days later) » 

user406009
11:15 PM
@EtiennedeMartel I can't think of a single history fact that has ever been helpful.
 
user406009
Except in politics and finance, which should be the main focus of "social studies" anyways.
 
Does anyone know if you are allowed to have nested calls to Begin/EndPaint in win32?
It seems to work fine but that doesn't always mean it's going to always work
 
@SethCarnegie msdn.microsoft.com/en-us/library/dd183362(v=vs.85).aspx "An application should not call BeginPaint except in response to a WM_PAINT message. Each call to BeginPaint must have a corresponding call to the EndPaint function." Ambiguous, but I think you're allowed to nest
 
11:30 PM
@MooingDuck Alright, thanks
@MooingDuck also the fact that EndPaint takes a pointer to a PAINTSTRUCT indicates that you can nest them
or else it could just store the data that is in the PAINSTRUCT with the HWND or whatever
 
wow MSVC9 is a processor hog when debugging
 
Ah MSVC 9, good times
 
@MooingDuck it's not nestable. in particular, EndPaint removes update region (everything is ok), so that further graphics ops have no effect.
 
@CheersandhthAlf actually BeginPaint validates the invalid region, no?
And anyways, I am reinvalidating it so it works
like I said, it works the way I am doing it (for me on this computer at this time) but I wanted to know if it is reproducible everywhere
 
you should not do that. it's dirty.
 
11:42 PM
Dirty things are sometimes necessary
 
yep :)
 
i know that such nesting is not necessary
that's because it's never been necessary
 
Have you examined every possible scenario
that could possibly exist
 
@SethCarnegie pass a bool flag as to if it's been grabbed or not, or a shared_ptr, there's tons of workarounds
 
11:43 PM
@MooingDuck grabbed?
 
@SethCarnegie don't argue with Alf either.
 
Why not
 
Hiya folks.
 
@SethCarnegie he gets cranky
 
@Moshe hey
 
11:44 PM
I've got a music final and a C++ final this week.
 
you need 10 rep for chat right?
 
Think so
 
Yup
 
ah, SO tells me 15
 
Well, I knew there was a minimum.
 
11:45 PM
wait, no, he has 15. Takes 20
 
> Why do I need 20 rep to talk in chat?
Yeah
from the permissions page
 
I'll see if he has a question I can upvote
 
@MooingDuck moo
@MooingDuck what is up
 
@stdOrgnlDave attempting to debug code at work
why is MSVC9 blocking for all operations? It's just nuts.
opening a local xml file should not cause my IDE to freeze while it loads other files over the internet.
and attaching to a process should not cause the IDE to freeze while it searches network drives for other files.
 

« first day (583 days earlier)      last day (4381 days later) »