DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Putting text on the clipboard

Started by dcadRob, September 14, 2007, 11:58:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dcadRob

Is there any way to put lots of text on the clipboard using basiccad? Can Sys$(40) be forced to append lines. I would like to avoid creating text entities, selecting them, copying and deleting.

Bob P

Rob,

Exactly what are you trying to do?

Can you use a temporary text file to do what you want?

dcadRob

I want to move text between programs without using files or OLE.

Bob P

Google "enhanced clipboard".  There might be something you can use.

bdeck

#4
Rob,


sys$(42) can be read directly with GetWindowText(). Window class is #32770.


BD



prl

#5
Bd, nice.  How did you spy/snoop the window class #?

bdeck

#6
Quote from: prl on September 23, 2007, 04:44:30 PM
How did you spy/snoop the window class #?


WindowFromPoint().

GetClassName() returns "#32770" in a text field.


BD