Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Clipboard
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Clipboard

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: Clipboard
    Posted: 04 October 2005 at 2:13am

Hi

I try to add some clipboard functionality to our calendar (copy, cut, paste). In the docu I found some CalendarEditOperations that lead me to search for the appropriate EditOperation method. But without luck.

Does anybody know how to perform such basic operations?

Thanks in advance for any help

Fabian

Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2005 at 7:11am
Hi Fabian,

Currently clipboard operations are available only in C++/MFC version. In the next version we'll add them into ActiveX as well.

Let me know if you 'd like to implement them by yourself right now via modifying toolkit code and I'll provide you with some directions how to proceed.

--
WBR,
Serge
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2005 at 9:15am

Hi Serge

Thanks for the fast reply.

Yes we need clipboard support. I think I have to go through all selected events of the ActiveView and save their properties in a string and clip this around.

Do you know of any simpler way.

Thanks in advance

Fabian

Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 2:11am
Fabian,

Currently clipboard cut/copy/paste methods are implemented in the base view class: CXTPCalendarView
    CanCut(), CanCopy(), CanPaste(),     
    Cut(), Copy(), Paste(),
    and also Undo/Redo methods could be useful.

You can look at these methods to see how those operations are implemented.

Moreover, you can add them to interface definition and to the default implementation, after that they will be available for use in ActiveX.
See OleResetSelection and other OleXXX methods for examples.

--
HTH,
Serge
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 5:17am

Hello Serge

I feel stupid .

I am using VB6 and your ActiveX and I can't figure out how to use the (hidden) base class CXTPCalendarView. Can you please go a little bit deeper in your explanations...

Thanks a lot

Fabian

Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 5:53am
Fabian,

Sorry if I wasn't clear enough -- I meant class and methods implemented currently in C++ code, and how you can use them to add clipboard operations available as methods of the control. Of course such a way would require rebuilding a control itself.

--
WBR,
Serge
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 6:15am

OK Serge

As I understand I can not use the clipboard functions until YOU rebuild the ActiveX. If I am correct, a patched version of this OCX-file would be quite welcome.

Thanks

Fabian

Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.