Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. coolbass

    What's with my source code

    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 =...
  2. coolbass

    Help on CBitmap

    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
  3. coolbass

    ASAP : Problems with OnPaint

    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
  4. coolbass

    ASAP : Problems with OnPaint

    can you give some simple programs that i can use as reference aside from the documentation of BitBlt?
  5. coolbass

    ASAP : Problems with OnPaint

    the whole line graph in a CBitmap format? is there another way..... tnx
  6. coolbass

    ASAP : Problems with OnPaint

    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...
  7. coolbass

    Delay inside the loop

    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)...
  8. coolbass

    how can i make loop delays?

    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"
  9. coolbass

    how can i make loop delays?

    but my another problem is that the loop executes and the Sleep() function performs after the loop....
  10. coolbass

    how can i make loop delays?

    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.

Part and Inventory Search

Back
Top