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
good double buffering script bad asking-to-refresh!
InvalidateRect(hWnd, NULL, TRUE);
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
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...
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?
a matrix of an HWND array can be declared like that?
typedef std::vector<HWND> HWNDArray;
typedef std::vector<HWNDArray> ...
July 31st, 2009, 03:39 PM
sorry... misunderstood... well is because i didn't know the power of the std::vector... now i'm studing it :p
what a wonderful forum!!! light speed replies and very useful tips!! thank you again!!
July 31st, 2009, 02:56 PM
can you post some example code please? I can't figure...
July 31st, 2009, 01:03 PM
interesting solution... I stopped studing C++ after class... so i miss all the strange template stuff, the std library, and so on... good excuse for getting an upgraded!!! many thanks!!!
July 31st, 2009, 11:50 AM
thank you for your many replies!
sorry for the CODE tag... I didn't find it :P
quoting lindley for the behaving of the realloc.
I used realloc instead new/delete beacause with the C++ operator you...
July 31st, 2009, 10:25 AM
hi all!! I need to create a function that by reference reallocate an asymmetrical bidimensional
I've done something like that but it crash...