Thread: clip board access

  1. #1
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533

    clip board access

    In windows and sometimes X-Windows
    you may copy strings or images into a clipboard owned by the system
    usually ctrl+c
    and to paste
    ctrl+v
    in C, how do you access this clip board?
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  2. #2
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    I already know how to do it on Linux
    but
    I just wanted to know how to do it on a windows machine

    knowledge is power

    there is no reason in this world that should prevent me from learning something. Except High School Counselors
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  3. #3
    Registered User breed's Avatar
    Join Date
    Oct 2001
    Posts
    91
    you should have a clipboard in your compiler.
    Or is that not what your looking for?
    Before you judge a man, walk a mile in his
    shoes. After that, who cares.. He's a mile away and you've got
    his shoes.
    ************William Connoly

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    look up GetClipboardData in the MSDN its a bit lengthy and i have never done it, and appearently thers a lot of options so hopefully this helps!

    http://msdn.microsoft.com

    or here

    http://msdn.microsoft.com/library/de...pboarddata.asp

    and

    http://msdn.microsoft.com/library/de...ipbrd_4zn7.asp
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ww hosting and SSH access
    By spoon_ in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 04-07-2005, 08:49 AM
  2. Replies: 3
    Last Post: 09-22-2003, 09:48 PM
  3. Network Programming Board
    By Eibro in forum A Brief History of Cprogramming.com
    Replies: 32
    Last Post: 07-07-2003, 12:04 PM
  4. Direct disk access in DOS
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-26-2002, 02:52 PM