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

Search:

Type: Posts; User: cp_klewis

Search: Search took 0.02 seconds.

  1. Thread: BitBLT

    by cp_klewis
    Replies
    4
    Views
    1,282

    Here is my BitBLT declaration. I DOnt get any...

    Here is my BitBLT declaration. I DOnt get any errors but when I run it I get a blank picture. I have it working for getting a screenshot
    but the function I have just posted is supposed to get a...
  2. Thread: BitBLT

    by cp_klewis
    Replies
    4
    Views
    1,282

    BitBLT

    Anyone have a clue as to WHY this wont work....



    On Error GoTo errExc
    Dim hgt As Integer = endPt - startPt

    Dim myImage As System.Drawing.Image = New...
  3. Replies
    1
    Views
    2,141

    Graphics GetHDC Problem

    This is driving me crazy!!! I have two image objects and try to get an HDC handle to them. The first returns good but the second always returns 0. Can you only have 1 handle at a time, or what? I...
  4. Thread: StretchBlt

    by cp_klewis
    Replies
    11
    Views
    4,437

    Thanks Gizmo. Worked like a charm.

    Thanks Gizmo. Worked like a charm.
  5. In Your exit button, after closing all the forms...

    In Your exit button, after closing all the forms call the keyword

    End

    This should exit your program.
  6. Thread: StretchBlt

    by cp_klewis
    Replies
    11
    Views
    4,437

    Thanks. I can get the desktop and I used your...

    Thanks. I can get the desktop and I used your method of graphics.drawimage to resize (and it worked. Thanks) but I hear that stretchBlt is better quality. That is why I am trying to use it.
  7. Thread: StretchBlt

    by cp_klewis
    Replies
    11
    Views
    4,437

    Thanks for all your help guys but I need to use...

    Thanks for all your help guys but I need to use stretchBlt. I can use BitBlt and it works fine. I looked into stretchBlt and have some code in VB 6.0 but it no work with .Net.
  8. Thread: StretchBlt

    by cp_klewis
    Replies
    11
    Views
    4,437

    Gizmo. I thought that is what StretchBlt would...

    Gizmo. I thought that is what StretchBlt would do. I am new to the StretchBlt and BitBlt methods and am playing with them trying to learn them. Am I gonna have to use BitBlt first then StretchBlt to...
  9. Thread: StretchBlt

    by cp_klewis
    Replies
    11
    Views
    4,437

    Thanks for your quick Reply DSJ but it did not...

    Thanks for your quick Reply DSJ but it did not work. I changed all "AS Long" to "As Integer" and no dice.
  10. Thread: StretchBlt

    by cp_klewis
    Replies
    11
    Views
    4,437

    StretchBlt

    I am trying to use stretchBlt in VB.net and cannot get it to work. What I am doing is taking a screenshot of the desktop and trying to resize it to a different resolution size. Ex. 1024 X 768 to 800...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured