March 29th, 2010 10:02 AM
I read on msdn to pass FALSE as last parameter when I do:
InvalidateRect(hWnd, NULL, FALSE);
shouldn't this avoid the WM_ERASEBKGND message queuing?
March 29th, 2010 08:30 AM
wooo! solved!
good double buffering script bad asking-to-refresh!
i was
InvalidateRect(hWnd, NULL, TRUE);
instead
March 29th, 2010 08:06 AM
hi! i'm trying to make a double buffering to avoid the slow refresh
my code looks like this:
void draw(HDC hdc)
{
HDC dc = CreateCompatibleDC(hdc);
HBITMAP hBitmap = CreateCompatibleBitmap...
March 21st, 2010 01:08 PM
hi all!
i'm trying to create something like a frame so i made
HDC hdc2 = CreateCompatibleDC(hdc);
//draw on hdc2
BitBlt(hdc, 44, 59, 193, 87, hdc2, 0, 0, SRCCOPY);
September 9th, 2009 09:08 AM
hi! I have a date-time picker control.
when I select a date it gives 2 notify and when I change month I get an endless loop of notify!!!
here's my code...
#define STRICT
#include ...
September 9th, 2009 08:46 AM
solved. used alredy existing non-table file and deleted ib_logfile0 and ib_logfile1
September 8th, 2009 09:24 AM
hi! i hope this is the right section...
i'm developing a software based on mysql embedded system...
the version i'm using is 5.1 (it's the only one i found that have libmysqld...)
i'm referring to...
August 3rd, 2009 04:33 PM
cool XD well I learned a lot of things from this discussion and I think I don't want to see more than ONE star before a variable for a while XD
personally I hate working with dyn mem because I ever...
August 1st, 2009 11:31 AM
sorry but what about reallocating matrix?
for example...
a matrix of an HWND array can be declared like that?
typedef std::vector<HWND> HWNDArray;
typedef std::vector<HWNDArray> ...