Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Buzzyous

Page 1 of 7 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    7
    Views
    1,207

    Re: [RESOLVED] Print preview ASSERT problem

    Actually, I realized something there is wrong

    My OnPaint() function, at its start, already receives the pDC CDC with the two members m_hDC and m_hAttribDC different,without me having done...
  2. Replies
    7
    Views
    1,207

    Re: Print preview ASSERT problem

    Ok, I found it.

    The problem is about selecting a font created for the monitor device context into de printing device context.

    Sorry for the bothering, this is solved now

    Thank you, I...
  3. Replies
    7
    Views
    1,207

    Re: Print preview ASSERT problem

    I could post it, but there is nothing apart the standard functions:



    void CFFView::OnInitialUpdate()
    {
    CScrollView::OnInitialUpdate();

    // TODO: Add your specialized code here and/or...
  4. Replies
    7
    Views
    1,207

    Re: Print preview ASSERT problem

    I did nothing, just used the native OnPrint, importing a CRect with the size given by CPrintInfo struct in onDraw if (pDC->IsPrinting()).

    it is the first time I need to print something in visual...
  5. Replies
    7
    Views
    1,207

    [RESOLVED] Print preview ASSERT problem

    Hi to all

    Maybe this is a stupid question, but I looked around in internet and searched this forum for this problem. I didn't found anything free and useful

    The fact is, I have an application...
  6. Replies
    2
    Views
    399

    Re: Inheriting pointers in derived class

    Yes, templates could work fine.

    Thanks very much!

    Sorry if my answer came late
  7. Re: Custom Control with Triangle Shape on One Side

    I made 2 years ago a custom control; it was a button, with extendend functionalities, and hexagonally shaped.
    I made a CWnd derived class, and used it as a control, analazing the mouse events and...
  8. Replies
    2
    Views
    399

    Inheriting pointers in derived class

    Hello to all.

    I write you after many years, got rusty, even more than then, on inheritances.

    I will pose a simplified version of the problem i have, to go straight to the point.
    I have a base...
  9. Re: Detecting peaks in realtime from a microphone

    You've been very clear. Thank you again, I will try something out of your suggestion.
  10. Re: Detecting peaks in realtime from a microphone

    I viewed some of these, and found some interesting. Still reading, there are many articles. Thank you for the addressing.

    But, you said the difficult part is to sample the audio; there are API...
  11. Detecting peaks in realtime from a microphone

    Hi to all.

    I start by apologizing for my newbyosity in this field of c++, that is audio tracks. I understand, however, the principles behind sampling and sound recording issues in a computer.
    ...
  12. Re: Small problem with SetCaputure() in a CView (SDI)

    I understand. I didn't know SetCapture() works only if mouse button is pressed. I thing in Dialog boxes it works anyway, but CView, being a different, more complex "window structure", works...
  13. Small problem with SetCaputure() in a CView (SDI)

    Hello to all.

    I am developing a small mouse movement detector. It is an SDI app that does some stuff only based on mouse movement, regardless form its position or button flag.

    To do so, I tried...
  14. Replies
    2
    Views
    412

    Re: Transperent background

    You could save a rectangular bmp which is that occupied by the clock... When you need to refresh it, you can erase the clock background with the original image partial bitmap (overriding the CStatic...
  15. Replies
    19
    Views
    1,316

    Re: [RESOLVED] exit(): memory leaks?

    Of course I am not able, nor I intend, to beat standard containers. Anyway, the struct is just one part of the container I had in the app. The skeleton pointer is a multiple layer list, not just the...
  16. Replies
    19
    Views
    1,316

    Re: [RESOLVED] exit(): memory leaks?

    Interesting... But for this application I'm looking for direct access and control over pointers, without intermediates. I'll take what you say in account for another app I'm writing, however, where...
  17. Replies
    19
    Views
    1,316

    Re: [RESOLVED] exit(): memory leaks?

    Doesn't matter... Feels like I'll have to rewrite some code: not quite sure is what I shown the source of the leaks. Thank anyway, the help was really precious.
  18. Replies
    19
    Views
    1,316

    Re: [RESOLVED] exit(): memory leaks?

    I inserted many deb messages throughout the app.

    Before my last post, the message in the debug weren't called, because I closed the app without catching properly WM_CLOSE messages, and so on. Now...
  19. Replies
    19
    Views
    1,316

    Re: [RESOLVED] exit(): memory leaks?

    I solved many issues, but still remain a problem; I got memory leaks for each object I allocate with new durinig the program. Even when destructor is called. So, I found out how to call destructors...
  20. Replies
    19
    Views
    1,316

    Re: [RESOLVED] exit(): memory leaks?

    Actually, to be very sure, I inserted in the destructor code an AfxMessageBox("Destructing") troubleshooting message... It is not shown, so I supposed destructors weren't called.
    Moreover, if I...
  21. Replies
    19
    Views
    1,316

    Re: exit(): memory leaks?

    I defined PREMATURE_EXIT as -55. The invoker of the CDialog is a CWiew class.
    Now, the CDialog has some children CWnd that has new allocated memory too. I wrote this:



    //In the CDialog derived...
  22. Replies
    19
    Views
    1,316

    Re: exit(): memory leaks?

    I'm writing a Win application. In a dialog window the user has to insert some data. If these data refers to a bad, corrupted or mismatching file the application needs to close (after propting the...
  23. Replies
    19
    Views
    1,316

    [RESOLVED] exit(): memory leaks?

    I built a pointer based class, that makes a lot of use of dynamic memory allocation with new. So I equipped the class with an appropriate destructor, that traces back all allocated objects and...
  24. Re: Returning a struct or pointer to struct froma a function

    Nice, it works.

    Thank you all, a lot!

    Bye
  25. Re: Returning a struct or pointer to struct froma a function

    //MyClass.h

    #include "MyOtherClass.h"

    struct choice
    {
    MyOtherClass* chTxt;
    choice* next;
    CString identifier;
    };
Results 1 to 25 of 158
Page 1 of 7 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center