how do i take screenshots in windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diwakar09
    New Member
    • Sep 2007
    • 39

    how do i take screenshots in windows

    how do i take screenshots in windows by using winapi's and c++

    just tell me the aproach how to start it
    will i have to use MFC's for doing this.?
    i am not comfortable with MFC, i haven't use it,
    i know i will have to use createbitmap, bitblt function
    but how to proceed ?

    help me out...

    thanx
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Please avoid learning MFC.

    It was Microsoft's first crack at C++ design and it's terrible. So terrible that they had to disable virtual functions dues to the size of the vtables. They replaced it with a system of macros called MESSAGE_MAP. You use the macros to hard-code your virtual functionality. Just like in C.

    Check out the Windows Media SDK.

    Comment

    • oler1s
      Recognized Expert Contributor
      • Aug 2007
      • 671

      #3
      Try learning C# and .NET instead. Not that you can't make do with C, but all the new APIs are part of the .NET framework or make use of it...

      Comment

      • diwakar09
        New Member
        • Sep 2007
        • 39

        #4
        Originally posted by weaknessforcats
        Please avoid learning MFC.

        It was Microsoft's first crack at C++ design and it's terrible. So terrible that they had to disable virtual functions dues to the size of the vtables. They replaced it with a system of macros called MESSAGE_MAP. You use the macros to hard-code your virtual functionality. Just like in C.

        Check out the Windows Media SDK.

        Thanx for your rply i am familiar with winapi so i will try

        Comment

        Working...