Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. plz help me write this program

plz help me write this program

Scheduled Pinned Locked Moved C / C++ / MFC
performancehelp
23 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Maximilien

    when pressing the "print-screen" key, the OS will copy a bitmap of the screen on the CLIPBOARD in a bitmap format (probably CF_BITMAP). your job, if you accept it, is to get the data back from the clipboard, create an image format (whatever it is) and save it back on the disk in the format you want (easier is bmp). There must be tooooonnnsss of examples of that on the web, just use google.

    Maximilien Lincourt Your Head A Splode - Strong Bad

    U Offline
    U Offline
    Umair Zuberi
    wrote on last edited by
    #5

    again, plz thats the thing which i want to know how to get the image from clipboard in c

    D C 2 Replies Last reply
    0
    • U Umair Zuberi

      again, plz thats the thing which i want to know how to get the image from clipboard in c

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #6

      Umair Hakeem Zuberi wrote:

      how to get the image from clipboard in c

      A link has already been provided to you. Why have you failed to read it? :confused:

      "Love people and use things, not love things and use people." - Unknown

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      U 1 Reply Last reply
      0
      • D David Crow

        Umair Hakeem Zuberi wrote:

        how to get the image from clipboard in c

        A link has already been provided to you. Why have you failed to read it? :confused:

        "Love people and use things, not love things and use people." - Unknown

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        U Offline
        U Offline
        Umair Zuberi
        wrote on last edited by
        #7

        thats y i m asking here i cant get the contents, i m looking for, there or it may be that because i have never use the site i dont understand how to look into it also i cant find how to do it in turbo c/c++ there i donno wat to do except to ask here plz help me i realy dont know wat to do?????????? :((

        D 1 Reply Last reply
        0
        • U Umair Zuberi

          again, plz thats the thing which i want to know how to get the image from clipboard in c

          C Offline
          C Offline
          Cranky
          wrote on last edited by
          #8

          Umair Hakeem Zuberi wrote:

          how to get the image from clipboard in c

          For that you need a skill called C-Programming. Some expertise in using Google also would not hurt.

          L 1 Reply Last reply
          0
          • U Umair Zuberi

            thats y i m asking here i cant get the contents, i m looking for, there or it may be that because i have never use the site i dont understand how to look into it also i cant find how to do it in turbo c/c++ there i donno wat to do except to ask here plz help me i realy dont know wat to do?????????? :((

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #9

            Umair Hakeem Zuberi wrote:

            i cant get the contents, i m looking for, there or it may be that because i have never use the site i dont understand how to look into it

            Did you read up on OpenClipboard()?

            "Love people and use things, not love things and use people." - Unknown

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            U 1 Reply Last reply
            0
            • C Cranky

              Umair Hakeem Zuberi wrote:

              how to get the image from clipboard in c

              For that you need a skill called C-Programming. Some expertise in using Google also would not hurt.

              L Offline
              L Offline
              leckey 0
              wrote on last edited by
              #10

              My list keeps growing.:|

              CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

              M 1 Reply Last reply
              0
              • L leckey 0

                My list keeps growing.:|

                CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

                M Offline
                M Offline
                Mark Salsbery
                wrote on last edited by
                #11

                You have a list? :)

                Mark Salsbery Microsoft MVP - Visual C++ :java:

                C L 2 Replies Last reply
                0
                • M Mark Salsbery

                  You have a list? :)

                  Mark Salsbery Microsoft MVP - Visual C++ :java:

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #12

                  Yes, she has [^]. :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                  M 1 Reply Last reply
                  0
                  • M Mark Salsbery

                    You have a list? :)

                    Mark Salsbery Microsoft MVP - Visual C++ :java:

                    L Offline
                    L Offline
                    leckey 0
                    wrote on last edited by
                    #13

                    If you think I've missed anyone, please feel free to let me know; I don't visit all the forums.

                    CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

                    C 1 Reply Last reply
                    0
                    • C CPallini

                      Yes, she has [^]. :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                      M Offline
                      M Offline
                      Mark Salsbery
                      wrote on last edited by
                      #14

                      ...and I only got two of her 4 programming questions right (I'll let you decide which)....not good :)

                      Mark Salsbery Microsoft MVP - Visual C++ :java:

                      1 Reply Last reply
                      0
                      • L leckey 0

                        If you think I've missed anyone, please feel free to let me know; I don't visit all the forums.

                        CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

                        C Offline
                        C Offline
                        CPallini
                        wrote on last edited by
                        #15

                        A candidate [^]. :)

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                        L 1 Reply Last reply
                        0
                        • D David Crow

                          Umair Hakeem Zuberi wrote:

                          i cant get the contents, i m looking for, there or it may be that because i have never use the site i dont understand how to look into it

                          Did you read up on OpenClipboard()?

                          "Love people and use things, not love things and use people." - Unknown

                          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                          U Offline
                          U Offline
                          Umair Zuberi
                          wrote on last edited by
                          #16

                          ya i've read it but it is for visual studio i want to know it through turbo c it didn't describe tht do u know any method how to access clip board contents through turbo c

                          D L 2 Replies Last reply
                          0
                          • U Umair Zuberi

                            ya i've read it but it is for visual studio i want to know it through turbo c it didn't describe tht do u know any method how to access clip board contents through turbo c

                            D Offline
                            D Offline
                            David Crow
                            wrote on last edited by
                            #17

                            Umair Hakeem Zuberi wrote:

                            i want to know it through turbo c

                            Then I suggest you find a TurboC board.

                            "Love people and use things, not love things and use people." - Unknown

                            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                            U 1 Reply Last reply
                            0
                            • C CPallini

                              A candidate [^]. :)

                              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                              L Offline
                              L Offline
                              leckey 0
                              wrote on last edited by
                              #18

                              He will be added tonight. Thanks!

                              CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

                              1 Reply Last reply
                              0
                              • U Umair Zuberi

                                ya i've read it but it is for visual studio i want to know it through turbo c it didn't describe tht do u know any method how to access clip board contents through turbo c

                                L Offline
                                L Offline
                                leckey 0
                                wrote on last edited by
                                #19

                                Stop with the text speak. Read the forum guidelines.

                                CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

                                1 Reply Last reply
                                0
                                • D David Crow

                                  Umair Hakeem Zuberi wrote:

                                  i want to know it through turbo c

                                  Then I suggest you find a TurboC board.

                                  "Love people and use things, not love things and use people." - Unknown

                                  "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                                  U Offline
                                  U Offline
                                  Umair Zuberi
                                  wrote on last edited by
                                  #20

                                  so i was wasting my time here????????? i asked in my first post that i want coding in turbo c or u didn't read it????????:mad:

                                  D 1 Reply Last reply
                                  0
                                  • U Umair Zuberi

                                    so i was wasting my time here????????? i asked in my first post that i want coding in turbo c or u didn't read it????????:mad:

                                    D Offline
                                    D Offline
                                    David Crow
                                    wrote on last edited by
                                    #21

                                    Umair Hakeem Zuberi wrote:

                                    so i was wasting my time here?????????

                                    Only you can answer that. That's a gamble that YOU took by asking on a predominately Microsoft site.

                                    Umair Hakeem Zuberi wrote:

                                    i asked in my first post that i want coding in turbo c or u didn't read it????????

                                    Maybe you should re-read it. Your first post contained no such requirement.

                                    "Love people and use things, not love things and use people." - Unknown

                                    "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                                    U 1 Reply Last reply
                                    0
                                    • D David Crow

                                      Umair Hakeem Zuberi wrote:

                                      so i was wasting my time here?????????

                                      Only you can answer that. That's a gamble that YOU took by asking on a predominately Microsoft site.

                                      Umair Hakeem Zuberi wrote:

                                      i asked in my first post that i want coding in turbo c or u didn't read it????????

                                      Maybe you should re-read it. Your first post contained no such requirement.

                                      "Love people and use things, not love things and use people." - Unknown

                                      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                                      U Offline
                                      U Offline
                                      Umair Zuberi
                                      wrote on last edited by
                                      #22

                                      its UR problem that u cant understand simple english dont bother to reply coz it would waste MY time but u seem to have a plenty of time enough to play with others

                                      N 1 Reply Last reply
                                      0
                                      • U Umair Zuberi

                                        its UR problem that u cant understand simple english dont bother to reply coz it would waste MY time but u seem to have a plenty of time enough to play with others

                                        N Offline
                                        N Offline
                                        Nelek
                                        wrote on last edited by
                                        #23

                                        Umair Hakeem Zuberi wrote:

                                        its UR problem that u cant understand simple english

                                        Mmm... What you are writing is simple english? Damm, I must have been away when the english teacher explained the words "coz", "u", "ur" and other from previous posts. By the way...

                                        Umair Hakeem Zuberi wrote:

                                        i push the print screen key and the screen captures. then i run the executable file of the program i made. the program will be in such a fashion that it will get the captured screen from the memory and saves it on the hard drive. like u do from mspaint. plz help me

                                        Where is it said that you are using plain C?

                                        Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups