Maptitude - http://research.umbc.edu/~roswell/maptitude.html
--------------------------- ListBot Sponsor --------------------------
Dial 800-555-TELL for FREE long-distance calls.
Tell your friends -- forward this message!
http://on.linkexchange.com/?ATID=27&AID=2144
----------------------------------------------------------------------
Beautiful. Thanks!
Shoot. all I get when I try to compile it is
"Error opening interface
gisdk\toolbox\redraw\redraw Check the format of your ADD-INS.TXT file."
Gee, I sure wish that "Setup Addins" Dialog box were friendlier. It should
at least of a browse button. I should be expandable in size, too.
And it should be able to see inside the rsc file to know what the name of
the macro or dialog box is.
I've created a file called redraw.rsc in
D:\Program Files\Maptitude\gisdk\Toolbox\redraw
I've checked "dialog box"
I've tried lots of case-sensitivity options.
what am I doing wrong?
Here's what my add-in file looks like for now
M, gisdk\toolbox\gisdk, GISDK Start Toolbox, GIS Developer's Kit
M, removei\removei, Remove Info Symbols, Remove Info symbols from a map
M, gisdk\toolbox\copylines\copylines, CopyLines, CopyLines
D, gisdk\toolbox\redraw\redraw, redraw, Redraw
On Fri, 9 Feb 2001, Larry Manire wrote:
> Marjorie,
>
> >The shortcut key I'm looking for is for "redraw." I especially need this
> >because for whatever reason, the screen display appears to delete active
> >segments when they're being edited. Redraw makes them show up again. This
> >is a major 2-pronged inconvenience (the apparent disappearance, and the
> >lack of a keyboard shortcut)
>
> Here's a little redraw toolbox button (see below) for you. Just compile it
> and add it to your addins with the name "redraw" and the dialog box radio
> button checked. Notice the Key option allows you to use ALT R to execute it
> so you don't even have to click on it!
>
> Hope this helps. Use this as a model to add a bunch more buttons and tools.
> We'll make a DK programmer out of you yet!<g>
>
> Larry Manire
>
> ----------------------------------------
>
> dbox 'redraw' right, bottom toolbox
> // provides a redraw map button in a toolbox
> close do
> return() // allows you to click on X to close it
> enditem
> Button "Redraw" 0,0,8,1 Key: Alt_R
> do
> redrawmap()
> endItem
> enddbox
>
> ------------------------------------------------
_________________________________________________________
Marjorie Roswell, Spatial Analyst
UMBC Center for Health Program Development and Management
1000 Hilltop Circle Fx: (410)455-6850
Baltimore, MD 21250 E: [EMAIL PROTECTED]
Ph: (410)455-6802 http://umbc.edu/~roswell/mipage.html
_________________________________________________________
______________________________________________________________________
To unsubscribe, write to [EMAIL PROTECTED]