Clipboard |
Post Reply |
Author | |
Fabian
Senior Member Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336 |
Post Options
Thanks(0)
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 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
Fabian
Senior Member Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336 |
Post Options
Thanks(0)
|
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 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
Fabian
Senior Member Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336 |
Post Options
Thanks(0)
|
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 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
Fabian
Senior Member Joined: 22 November 2004 Location: Switzerland Status: Offline Points: 336 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |