comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Problem with IDLgrClipboard in callable mode
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Problem with IDLgrClipboard in callable mode [message #59450] Tue, 25 March 2008 23:43
bianbian.org is currently offline  bianbian.org
Messages: 7
Registered: March 2008
Junior Member
Chinese translate: http://bianbian.org/technology/280.html
Re: Problem with IDLgrClipboard in callable mode [message #59451 is a reply to message #59450] Tue, 25 March 2008 23:23 Go to previous message
bianbian.org is currently offline  bianbian.org
Messages: 7
Registered: March 2008
Junior Member
On Mar 26, 12:03 pm, "bianbian.org" <bianbian....@gmail.com> wrote:
> On Mar 26, 11:10 am, David Fanning <n...@dfanning.com> wrote:
>
>
>
>> bianbian.org writes:
>>> Hi, I found a strange thing:
>>> IDLgrClipboard not works in callable mode (I use VC++ to execute IDL
>>> procedure to draw some plots, and
>>> copy the result to clipboard)
>
>>> oClipbrd = OBJ_NEW('IDLgrClipboard', DIMENSIONS=windowSize)
>>> oClipbrd->Draw, oView
>
>>> It works well under IDL-workbench, but when call from VC++, everything
>>> goes OK except clipboard is empty.
>
>> Please don't take this the wrong way, but you have
>> some evidence of this, huh? I'd be *extremely* interested
>> in seeing it. I guess you could say, I'm from Missouri.
>> (An American expression that means, "show me the money".)
>
>> Cheers,
>
>> David
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Thank you very much, though I maybe misunderstand your meaning.
> I think it's a bug of IDL.
> Finally, I have no choise but to save the drawing to a file, and it
> works:
>
> oClipbrd->Draw, oView, FILENAME='tempout.bmp'

After running a system-clipboard-viewer-tool, I conclude it must be a
bug.
Re: Problem with IDLgrClipboard in callable mode [message #59452 is a reply to message #59451] Tue, 25 March 2008 21:03 Go to previous message
bianbian.org is currently offline  bianbian.org
Messages: 7
Registered: March 2008
Junior Member
On Mar 26, 11:10 am, David Fanning <n...@dfanning.com> wrote:
> bianbian.org writes:
>> Hi, I found a strange thing:
>> IDLgrClipboard not works in callable mode (I use VC++ to execute IDL
>> procedure to draw some plots, and
>> copy the result to clipboard)
>
>> oClipbrd = OBJ_NEW('IDLgrClipboard', DIMENSIONS=windowSize)
>> oClipbrd->Draw, oView
>
>> It works well under IDL-workbench, but when call from VC++, everything
>> goes OK except clipboard is empty.
>
> Please don't take this the wrong way, but you have
> some evidence of this, huh? I'd be *extremely* interested
> in seeing it. I guess you could say, I'm from Missouri.
> (An American expression that means, "show me the money".)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thank you very much, though I maybe misunderstand your meaning.
I think it's a bug of IDL.
Finally, I have no choise but to save the drawing to a file, and it
works:

oClipbrd->Draw, oView, FILENAME='tempout.bmp'
Re: Problem with IDLgrClipboard in callable mode [message #59453 is a reply to message #59452] Tue, 25 March 2008 20:10 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
bianbian.org writes:

> Hi, I found a strange thing:
> IDLgrClipboard not works in callable mode (I use VC++ to execute IDL
> procedure to draw some plots, and
> copy the result to clipboard)
>
> oClipbrd = OBJ_NEW('IDLgrClipboard', DIMENSIONS=windowSize)
> oClipbrd->Draw, oView
>
> It works well under IDL-workbench, but when call from VC++, everything
> goes OK except clipboard is empty.

Please don't take this the wrong way, but you have
some evidence of this, huh? I'd be *extremely* interested
in seeing it. I guess you could say, I'm from Missouri.
(An American expression that means, "show me the money".)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Problem with IDLgrClipboard in callable mode [message #59454 is a reply to message #59453] Tue, 25 March 2008 19:54 Go to previous message
bianbian.org is currently offline  bianbian.org
Messages: 7
Registered: March 2008
Junior Member
IDL 6.2, sorry
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with IDLgrClipboard in callable mode
Next Topic: Why different behaviors of Polar_Contour and Contour?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:32:49 PDT 2025

Total time taken to generate the page: 0.00859 seconds