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

Search:

Type: Posts; User: zetar

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    3,089

    Re: How do you know when Invalidate(true) is done?

    Thanks! That worked a charm!

    Sorry about the duplicate threads. My first thread was about a screen capture, and the second was more specific.

    Again, sorry about the duplicate threads.

    Really...
  2. Replies
    7
    Views
    3,089

    How do you know when Invalidate(true) is done?

    How do you know when Invalidate(true) is done? (yeah, I know, the screen has been updated).

    The problem that I'm having is this code:

    Invalidate(true);
    CaptureScreen(ScreenCounter);
    ...
  3. Replies
    7
    Views
    3,089

    Re: Quick Screen Capture in MFC?

    I just wanted to follow up.

    This isn't my posting, but this is exactly the same problem that I'm having:
    http://stackoverflow.com/questions/4144265/how-to-capture-desktop-using-vc/7235308#7235308...
  4. Replies
    7
    Views
    3,089

    Quick Screen Capture in MFC?

    I've got a screen capture method that captures the screen and saves to a BMP but it seems slow. That is to say, it works fine for the first 2 screen capture events but for the next 2 it doesn't...
  5. Replies
    6
    Views
    863

    Re: GetDC not calculating toolbar offset

    Okay, so I'm beginning to get this. I was drawing outside of OnDraw / UpdateDialog. It just seemed like I was creating (and setting) a ton of global flags for what should be drawn in UpdateDialog....
  6. Replies
    6
    Views
    863

    Re: GetDC not calculating toolbar offset

    That seems to be the case.

    In essence, then, the 'correct' way to draw in MFC is ALWAYS on Invalidate(TRUE), yes?

    Though, my OnDraw just calls UpdateDialog(pDC);

    Never draw outside of...
  7. Replies
    6
    Views
    863

    Re: GetDC not calculating toolbar offset

    I'm pretty sure I'm drawing to the right window. I've also tried

    pDC = GetWindowDC();

    with the same problems.


    How would I know if I'm drawing to the wrong window? It seems to be the same...
  8. Replies
    6
    Views
    863

    GetDC not calculating toolbar offset

    I have an app with a floating / docking toolbar. This is a pretty big program. Recently I've added a new function that comes off of the toolbar. This involves some screen draws and screen captures....
Results 1 to 8 of 8


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