hello guys
i need some help with my source code. i have this memory leak after the OnPaint():
void CThesisTwoDlg::OnPaint()
{
if (IsIconic())
{
CPaintDC dc(this);
SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
// Center icon in client rectangle
int cxIcon =...
good day guys
i try to use CBitmap, but every time i created a program, always there is ASSERTION FAILURE. please help me to have BASIC solution about this. im new about CBitmap.
tnx
bcravens,
im new in VC++ but i can manage to create an array. my problem is, how can redraw it usng CBitmap? can u give me some simple source code about this?
tnx
Good day guys
im creating a dialog-based program and i need my dialog box to draw lines.
my problem is, i want to have a white rectangular box and inside it i want to overlap it with line graph.
everytime WM_PAINT occurs, the rectangle i made overrides the previous line so i dont see the...
hi there! can u help me in my simple program. i want to display every values in the edit box while updating it. i want to have a pause inside a loop to perform the display
here is my partial code:
m_READY = "Identifying...";
UpdateData(FALSE);
do
{
a = a + float(0.5)...
yes, i want to pause inside the loop. im only want to perform display UpdateData() with an edit box but iwant to use a pause within the loop of "for statement"
hello!
this is my simple problem about delay loops.
i have a loop statement but i can't make a delay in updating the display. i want to know how to use delays inside a loop statement while using UpdateData(FALSE) within the loop. Sleep() statement doesn't work in this delays.
thnx.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.