Click here to Skip to main content
15,900,254 members

Comments by wy737 (Top 4 by date)

wy737 4-Feb-14 14:26pm View    
Thanks, I got the solution . It is that to create New CStatic Class, and put new font routine in OnPaint Function.
wy737 4-Feb-14 12:26pm View    
Thanks for your reply. My question is why difference between "Transparent mode" and "normal mode" in my case ?
wy737 23-Jan-14 13:38pm View    
HBITMAP prev = m_BitmapPreview.SetBitmap( hcurr ); // ---- without this line memory usage doesn't go up rapidly every second.
if (NULL != prev)
{
DeleteObject(prev); // *** This is very important !!!
}

// Later:
DeleteObject( hcurr ); // ---- returns non-zero which would point out that it was freed properly.
wy737 21-Jan-14 14:09pm View    
Thanks for your help, But that look like can not solve my problem.