OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Search Forums

Showing results 1 to 21 of 21
Search took 0 seconds.
Search: Posts Made By: Tomasz
Forum: CorelDRAW/Corel DESIGNER VBA 19-06-2012, 05:02
Replies: 3
Views: 4,788
Posted By Tomasz
Shelbym, thank you for the response. I meant...

Shelbym,
thank you for the response.
I meant creating a "child" class which incorporates all properties and methods of the "parent" class and adds some more.
So if CorelDraw.Shape has several...
Forum: CorelDRAW/Corel DESIGNER VBA 09-06-2012, 14:14
Replies: 3
Views: 4,788
Posted By Tomasz
CorelDRAW X6 classes inheritance

I would like to make a .NET class "myShape" that inherits CorelDRAW "shape" class. Is it possible at all?
Vb.net suggests only CorelDRAW.UICategories and VGCore.UICategories as inheritance...
Forum: CorelDRAW/Corel DESIGNER VBA 02-11-2010, 02:09
Replies: 3
Views: 3,646
Posted By Tomasz
Thank you Shelby. I tried to access VSTA...

Thank you Shelby. I tried to access VSTA functions in a similiar way I do it in VBA/VSTO with no success hence the question.
Have you ever tried binding VSTA subs or functions to a custom docker UI?...
Forum: CorelDRAW/Corel DESIGNER VBA 31-10-2010, 06:25
Replies: 3
Views: 3,646
Posted By Tomasz
X5 - executing Add-In function from VBA

I know that so far VSTA capabilities are very limited. However is there any way to execute an Add-in dll function by VBA code? I know I can write functions in c++ and compile them into a win32 dll...
Forum: CorelDRAW/Corel DESIGNER VBA 11-04-2009, 08:49
Replies: 4
Views: 6,219
Posted By Tomasz
Alex, thank you very much! You are great!...

Alex,

thank you very much! You are great! Now it works flawlessly.
I only wonder why (void**) declaration? After all pIShapeRange pointer has been already declared as IDrawShapeRange*.
I must...
Forum: CorelDRAW/Corel DESIGNER VBA 08-04-2009, 15:59
Replies: 4
Views: 6,219
Posted By Tomasz
Alex, thank you very much for directing me...

Alex,

thank you very much for directing me at IDispatch. It should resolve my problem. Hovewer my VC++ builder refuses to build the code you have suggested. The problem is within:

HRESULT hr =...
Forum: CorelDRAW/Corel DESIGNER VBA 04-04-2009, 11:38
Replies: 4
Views: 6,219
Posted By Tomasz
How to pass cdr object to c++ function as argument

I wonder how can I pass a CorelDRAW object, namely ShapeRange object, to a DLL function as an argument. I would prefer to pass the object by reference rather than by value.

In VBA I declare...
Forum: CorelDRAW/Corel DESIGNER VBA 04-04-2009, 07:49
Replies: 8
Views: 7,612
Posted By Tomasz
I have come to a conclusion that the problem was...

I have come to a conclusion that the problem was not within my code but with my Windows configuration (it cries for reinstallation). Debugger generates error messages after every attempt to...
Forum: CorelDRAW/Corel DESIGNER VBA 19-03-2009, 13:56
Replies: 8
Views: 7,612
Posted By Tomasz
Alex, James, amazingly putting everything...

Alex, James,

amazingly putting everything into 'try/catch' wrapping resolved all problems. No errors are generated now. Thank you for the tip!

James, I remembered to use cdr12's typelibs with...
Forum: CorelDRAW/Corel DESIGNER VBA 18-03-2009, 16:23
Replies: 8
Views: 7,612
Posted By Tomasz
Problem with VC++ and CDR X4

Hi all,
encouraged by Alex, Jemmyell and others who made C++ dlls for CorelDRAW with great success, I started learning C++. I have VC++ 2008 Express installed on two WinXP SP3 PCs. Before...
Forum: CorelDRAW/Corel DESIGNER VBA 18-02-2008, 16:37
Replies: 10
Views: 13,041
Posted By Tomasz
Thanks! I understand that the first line...

Thanks!
I understand that the first line returns the handle of the Object Manager itself. But why the window name of the Object Manager object is "Afx:62210000:1000:00010011:00000010:00000000"??...
Forum: CorelDRAW/Corel DESIGNER VBA 18-02-2008, 16:04
Replies: 10
Views: 13,041
Posted By Tomasz
wOxxOm, I had a slight hope that I would...

wOxxOm,

I had a slight hope that I would manage to do it easily with use of an overlooked cDraw class. As the hope vanished, I have to learn more about WinAPI classes :)

Tomasz
Forum: CorelDRAW/Corel DESIGNER VBA 18-02-2008, 15:42
Replies: 10
Views: 13,041
Posted By Tomasz
Well... actually... I can do it in my X3: 1....

Well... actually... I can do it in my X3:

1. I click on a layer,
2. then holding Ctrl key pressed I click on other layers.
3. having collection of layers selected in that way, I can right click...
Forum: CorelDRAW/Corel DESIGNER VBA 18-02-2008, 14:55
Replies: 10
Views: 13,041
Posted By Tomasz
Thank you wOxxOm. I meant strictly...

Thank you wOxxOm.

I meant strictly operations on a couple of layers selected manually by an user. For example when one selects two or more layers (by ctrl clicking them), the macro would make...
Forum: CorelDRAW/Corel DESIGNER VBA 17-02-2008, 15:12
Replies: 10
Views: 13,041
Posted By Tomasz
is there any reference to selected layers?

Is there any way to make Draw VBA understanding, that a couple of layers are selected? LayerRange class seems to work only in PP VBA.

Tomasz
Forum: CorelDRAW/Corel DESIGNER VBA 20-08-2007, 15:39
Replies: 5
Views: 5,227
Posted By Tomasz
Shelbym, wOxxOm, thank you for your help. I...

Shelbym, wOxxOm,

thank you for your help. I created two palettes - one with use of colors shown in customization window, and second with use of colors given by wOxxOm. I carefully preserved order...
Forum: CorelDRAW/Corel DESIGNER VBA 16-08-2007, 12:23
Replies: 5
Views: 5,227
Posted By Tomasz
Thanks Shelby, unfortunately I couldn't...

Thanks Shelby,

unfortunately I couldn't obtain better results in CorelPP either. I captured the button images with CorelTrace, pasted into CorelPP and extracted palette. Icons created in CorelPP...
Forum: CorelDRAW/Corel DESIGNER VBA 15-08-2007, 12:36
Replies: 5
Views: 5,227
Posted By Tomasz
weird colors after .SetCustomIcon

Hi all,

I have noticed odd behavior of the .SetCustomIcon command. While importing icons onto a toolbar with use of VBA the colors of the icons differ from those expected. All of them are lighter...
Forum: CorelDRAW/Corel DESIGNER VBA 28-08-2006, 12:07
Replies: 4
Views: 3,718
Posted By Tomasz
Thanks Alex! Now I understand (At least I...

Thanks Alex!

Now I understand (At least I think so).

Tomasz
Forum: CorelDRAW/Corel DESIGNER VBA 21-08-2006, 13:38
Replies: 4
Views: 3,718
Posted By Tomasz
Well, it doesn't seem to work properly...

Thanks Alex!

How could I omit it?! :confused:

So the the function IsOnShape is related to the onscreen bitmap representation of the shape only?
Is there any other way to tell if the given...
Forum: CorelDRAW/Corel DESIGNER VBA 18-08-2006, 15:30
Replies: 4
Views: 3,718
Posted By Tomasz
cdrOnMarginOfShape

Hello guys,

I am new to the forum. I have been using CorelDRAW since version 3.0 and I used to write some simple scripts (later vba macros) to facilitate most boring actions.

Recently I found...
Showing results 1 to 21 of 21

 
Forum Jump

All times are GMT -5. The time now is 07:57.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com