Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Chris8852
  • Content: Threads
  • Order by date
  1. Chris8852

    How to infer a clipboard copy/cut/paste.

    I'm developing an application where I need to make another application copy/cut/paste to the clipboard. I didn't think this would work, but I tried it and it didn't... PostMessage(GetForegroundWindow(),WM_KEYDOWN,'C',NULL); PostMessage(GetForegroundWindow(),WM_KEYUP,'C',NULL); WM_COPY paste etc...
  2. Chris8852

    GlobalLock() returning NULL but NO ERROR?

    I'm trying to lock a clipboard object, and GlobalLock returns NULL... I use this to get the last error: FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER |FORMAT_MESSAGE_FROM_SYSTEM,NULL,GetLastError(),MAKELANGID( LANG_ENGLISH, SUBLANG_ENGLISH_US ),(LPTSTR)&ptr,0, NULL); It says "The operation...
  3. Chris8852

    GlobalLock() returning NULL but NO ERROR?

    I'm trying to lock a clipboard object, and GlobalLock returns NULL... I use this to get the last error: FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER |FORMAT_MESSAGE_FROM_SYSTEM,NULL,GetLastError(),MAKELANGID( LANG_ENGLISH, SUBLANG_ENGLISH_US ),(LPTSTR)&ptr,0, NULL); It says "The operation...
  4. Chris8852

    Simple question

    Whenever I post in here I don't seem to get any (meaningful) replies. So I'd like to know if this is a beginner's forum or an intermediate/expert forum? I'm no expert, but if no one here can help me I might as well be.
  5. Chris8852

    Clipboard()->AsText access violation, checking using timer

    In my program I use code like AnsiString b1 = Clipboard()->AsText; and int i = Clipboard()->AsText.Length(); Both cause access violations. My program uses AsText hundreds of times in it, but not all the time does it cause an access violation. I check to see if the Clipboard() == NULL and if...
  6. Chris8852

    Help: network application dealing with clipboard data and dynamic IP

    I have created a network application that unifies the clipboards of multiple computers over a network, it will even detect URL links clicked on and mailto: links clicked on and run the associated program on another computer if you want it to, as well as many other advanced options... now my...
  7. Chris8852

    Copy File To Clipboard in BCB app?

    Hello there, I'm programming an application that needs to copy a file onto the clipboard so the user can paste it in a folder of their choice. As far as I can tell the TClipboard won’t do that, and I've Ole implementation but its just one maze of code and structures after another... If anyone...

Part and Inventory Search

Back
Top