MVP help needed - No responds for multiple weeks

G

Gary

I have a drawing where the user used the Ink. I believe the Ink shape is not
supported by VBA code. My objective to to make all of the Ink shapes wider.
I can do tis with the menu selection, by the CommandBars. I do run into the
problem of how do I select which Ink Thickness using the CommandBars in VBA???

For example
CommandBar("Menu Bar").Controls("Ink") - I don't know how to select the
ink weight here!! I have also following the command with
..accDoDefaultAction and it works in access and Visio. Is there a visio one I
could use???


Or I couuld do:

CommandBar("Ink").Controls("Ink Thickness") - there is a drop down showing
various thickness. I try somethngs, it didn't work. I know the command bar
works because I was able to select a pen. If you can tell me how to select
the Ink Thickness, I will have the problem solved.


There is a third option: convert the ink shapes over (using the convert ink
to geometry) and I have VBA control in seting the line width. I don't know
how to select the "Convert Ink To Geometry" using VBA code??? I know that I
must select the object and then right click it. I would prefer the above 2
methods if possible.


Any help is deeply appreciated!!!!

It seems no-one is responding to this. Either this is a dumb question and
its off the normal track.


Thanks,

Gary
 
A

Al Edlund

as a second point of reference check out Graham Widemans book (v2003
developers survival pack) chapter 8, page 115. You'll still need the Ink
SDK.
al
 
A

Al Edlund

As a second reference check Graham Widemans book (v2003 developers survival
pack) chapter 8, page 115. You'll still need the tablet/ink sdk.
al
 
G

Gary

I don't have a copy of the refernece. I will try to get a copy soon.

Can you explain why I will need a copy of the Ink SDK loaded???? Is this a
different approach than using the commandbar??? It would seem like nothing
else should be required if the technqiue was using the commandbar.

Thank You Very Much!!!


Gary
 
A

Al Edlund

if you open the object browser in vba and then examine visUICmds they list
visCmdFormatInkDlg as an option. You might try that with the docmd. There
are other ink commands listed.
The reason for sdk is I suspect you might want to get a little more
granular.
al
 
G

Gary

No luck.

I tried all of the visCmd that has anything to do with ink. The
visCmdFormatInkDlg is just as the name implies. A dialog box with the
ability to select the thinkness of the ink. I still do know now to select
the ink thickness from VBA. The dialog box is set for manual selection just
like the command bar combo box "Ink Thickness" selection.

Do you have any idea how to select an item from the command bar combo box
"Ink Thickness"??

Thanks,

Gary
 
A

Al Edlund

If MS does not expose an API for a dialog box, then you have to write your
own...
that's why I suggested that you start to research the Tablet/Ink sdk.
al
 
G

Gary

I posted the question if the Window Tablet SKD 1.7 would help in resolving
the issue. This is the comment:

The SDK won't help. Office only installs the ink components on a tablet.

--
Josh Einstein (Tablet PC MVP)
Einstein Technologies
Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com
Chock full of inky goodness!


I am still trying to get a copy of that article you indicated before.

If anyone else have any suggestion - please help


Thanks,

Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top