Kirk,
>From version 550 on Set Window statement have had option to turn snap mode on/off.
>See Reference for that.
For earlier versions you need to work around with WinAPI. The trick is to send message
directly to MapperWindow via SendMessage API to simulate keyboard input. See the
following
Holger,
Here is the function I use for conversion.
Anssi
'*
Function Hex(ByVal iInput As Integer, ByVal iFormat As Integer) As String
Dim x As Integer
Dim i, iDummy As SmallInt
Dim sGlyph, sOut As String
x = iInput
Do While 1
i=i+1
iDummy = (x/16^(i-1)) Mod 16
Max,
About a year ago I wrote an application I called
MBwin_plus.mbx to do that. It can be downloaded from DirectionsMagazine site
from Utilities section.
See following URL:
http://www.directionsmag.com/tools/default.asp
Regards,
Anssi
Unfortunately (and strangely), a
Roy,
Try the following
Regards,
Anssi
'
Declare Sub Main
Sub Main
Dim iFile, oFile, strDelim, strDummy, strPrint As String
Dim iFixlen As Integer
iFile = FileOpenDlg("","","TXT","Define input file")
oFile = FileSaveAsDlg("","","TXT","Define output
Gary, Bill, Peter, others
Thanks for your response. Unfortunatelly there
hasn't been much activity on undocumented stuff during my vacation, so I figure
the hoover functions remains undocumented for now. I'll let you know if I ever
figure out what kind of data theese are built for.
I'm s
Hello folks,
I'm about to leave for two weeks vacation, but
before that I'd like to donate you little bit of my knowledge on MapInfo
undocumented stuff. I haven't figured them out yet, but maybe someone could
explain how they work or what are they build for (since not
documented).
Functi
David,
Here is a very baseline source for merging multiple tables.
It doesn't check much of a table structures access rights or anything, but will do the
thing if you are just careful.
If you don't have MapBasic let me know and I'll mail you a compiled version.
Anssi
'
Roy,
Dmitry posted some time ago an awesome example of using WinAPI
CreateProcess() and WaitForSingleObject() functions to do just that.
I'm sure you can find it from list archive. I made this lil application to
run GhostScript within MapInfo using that code and it seem to work very
nice. I'l
Steve, Alex, Margie, others,
A while ago I ran into following names in MI program file, which seem like registry
values to me. At least UseTrueColor and ExportBorder have been discussed earlier on
this list. Unfortunatelly haven't have time to try them out. If you do please let us
all know:
O
- Original Message -
From: Anssi Joutsiniemi <[EMAIL PROTECTED]>
To: Andreas Mahn <[EMAIL PROTECTED]>
Sent: Monday, January 10, 2000 6:14 PM
Subject: Re: MI Files on Most Recently Used-list
Andreas,
Your server kept returning my mail so here it comes through the list.
Richard,
To get the hwnd for MI Dialog you have to loop through all child windows of MI window
and find the the MDIClient window (for example by using GetClassName API). Then loop
again through child windows of MDIClient and one of those is your Dialog window.
(By the way by looping through chi
The problem was clip region on mapper window, which on v5.5 slows the machine down.
I know this isn't the Wish List, but if some any big cheese from MapInfo Corp is
reading this would it be considerable to make this fine new feature optional through
Options > Preferences or registry key value?
Hello,
I just updated my MI to version 5.5 and
realized its eating my CPU time like a maniac on ordinary window redrawing
process. It actually makes the redrawing process some 50 times
slower.
I found it particullary strange since version
5.0 seem to work as it used to. Does anybody hav
Hello Rinus,
If you want to remove max/min buttons from window you actually have to change the
window style. I included a small app to show how to do that. If you have any question
just let me know.
By the way KGM utility API_TEST works as designed. It removes the menuitems from
systemmenu (
How about using Font variable like so:
Dim myFont As Font
MyFont = "Font (" + currFontname + ", " + currFontStyle + ", " +
currPointSize +", " +
currForeColour + ", " + currbackColour + ")"
Alter Object TextObj Info OBJ_INFO_TEXTFONT, myFont
I'm not sure wheather it's gonna work or no
On Win32 there is a registry entry
\HKEY_LOCAL_MACHINE\Software\MapInfo\MapInfo\Common\ExportBorder
The type of key is DWORD and setting it to zero is equal to No Border Is Exported.
Regards,
Anssi
- Original Message -
From: Hans Vidkjer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Jure,
I recently had similar thoughts about MapInfo not understanding Group IV compression
Tiff properly, but...
We had some thousand Tiff G4 maps, created in MicroStation, which were shown inverted
in Mapinfo, but I turned out that it was MicroStation that couldn't handle the Group 4
issue.
Russell, others
Here is URL to download Adobe PostScript drivers for clean PS code.
http://www.adobe.com/supportservice/custsupport/LIBRARY/pdrvwin.htm
You are also strongly encouraged to use GhostScript (if you haven't already done so)
from:
http://www.cs.wisc.edu/~ghost/
GhostScript is really
_STATUS To CMD_INFO_EDIT_DISCARD
So by using it you will be able to control the closing status according to whatever.
I also added couple lines to Marks code as an example.
Regards,
Anssi
- Original Message -
From: Ogilvie, Mark <[EMAIL PROTECTED]>
To: 'Anssi Joutsiniemi' &
Dear all,
We all know some of them like RowID and map object
functions are poorly documented for MIPro users but available via MapBasic
documentation.
Beyond that, you can find CreateView statement from
StreetInfo files and so on.
By poking Mires.dll file I was able come with two
extra h
Sesheeka,
You were stingy w/ your help, but I guess you ment
WNetAddConnection() function. :-)
Thanks anyway,
Anssi
- Original Message -
From:
Sesheeka
Selvaratnam
To: 'Anssi Joutsiniemi'
Sent: Thursday, September 09, 1999 3:53
PM
Subject: RE:
Hello,
Does anybody know how to map a network drive w/
Win32Api?
Thanks,
Anssi
You could try using Format$() function like for example:
Update "table" Set WGS84_MIN_X =
Format$( Str$(Int(WGS84_DEC_X)), "00") +"°"+Format$(
Str$((WGS84_DEC_X-Int(WGS84_DEC_X))*60), "00.")
Regards,
Anssi
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
There is no mailing list like this one.
Anssi
- Original Message -
From: Bjorn Veltman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 1999 12:45 PM
Subject: MI Oracle questions
> Hi,
>
> Does anybody know if there is a mailing list like this one for but for
Steve,
The trial version on TypeTool is downloadable from URL.
http://www.fontlab.com/tt_main.htm
I've been quite satisfied with it.
Regards,
Anssi
- Original Message -
From: Steven Romalewski <[EMAIL PROTECTED]>
To: MI Listserv <[EMAIL PROTECTED]>
Sent: Wednesday, September 01,
Select your frame from Layout window and change Border style from Options > Region
Style menu or use Region style button.
Regards,
Anssi
- Original Message -
From: Phillips, Andrew <[EMAIL PROTECTED]>
To: mi-l (E-mail) <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 1999 11:36 PM
S
Tammy,
You should be able to place 65536 characters in MB window and I doubt you
can get beyond that.
Regards,
Anssi
-Original Message-
From: Joyce, Tammy DNRW <[EMAIL PROTECTED]>
To: MapInfo_Q&A <[EMAIL PROTECTED]>
Date: 24. elokuuta 1999 0:31
Subject: MI mapbasic window size
>
>M
Paul
You could work around by using animation layer with AlterObject statement to
"flash" your symbol .
See the Animator.mb for further details.
Regards,
Anssi
-Original Message-
From: Paul Fildes <[EMAIL PROTECTED]>
To: MapInfo List <[EMAIL PROTECTED]>
Date: 19. elokuuta 1999 16:08
S
Ethan
The following lines are from Warren Vick's return to Question: MI Can I add
patterns to MapInfo? few months ago on Mapinfo-L?
Officially no, but you can hack the fill pattern resources which are in
MapInfo Pro. It's not clean or
portable, but perhaps could be a last resort.
You need to
Rajeev, Peter, others
Sorry about my misleading information about Calling clause.
Peter is right, I didn't bother to check and mixed up w/ EditText.
Here is the code once again.
Regards,
Anssi
'*
Declare Sub Main
Declare Sub Main_chk
Global sValue(10), sNe
Rajeev,
ListBoxes doesn't have Calling clause so you need user activity (to push
button, double click or so) to move selected items from one listbox to the
other.
Try compiling following code.
Regards,
Anssi
'*
Declare Sub Main
Declare Sub Main_chk
Globa
Christian,
As far as I know I could be hard to make MapBasic window parent to other
windows, since MB window actually contains another RichText type window,
which fills the entire client rectangle of MB window. So it is not very much
different from EditText Control on MapInfo dialog.
You could
Hello
Is there anybody who knows wheather it is possible or not to get the memory
address of custom function declared in MapBasic program using Win32Api. Ie.
same functionality that is built-in on VB5 in AddressOf operator.
Thanks,
Anssi
-
Well Bob,
Tell us a little bit more...
Anssi
-Original Message-
From: Bob Young <[EMAIL PROTECTED]>
To: Sean Richards <[EMAIL PROTECTED]>
Cc: 'MapInfo List' <[EMAIL PROTECTED]>
Date: 29. heinäkuuta 1999 12:38
Subject: Re: MI Selection control query
>Dear Sean
>
>You could sub-class the
Dmitry, others
I have been using this AddFontResource function, but it doesn't make
resource permanent. So booting the computer makes resource to disappear.
Thanks again,
Anssi
>>Anybody familiar with registering a font permanently to system registry
>>using Win32API?
>Declare Function A
Anybody familiar with registering a font permanently to system registry
using Win32API?
Thanks,
Anssi
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or
Tony,
It seems to me there is nothing wrong in your Alter Object statement.
Creating text into variable is little trickier though, because you have to
calculate the coordinates of bounding rectagle of your desired text object.
But since you are altering the existing object all you have to do is
You can do it by combining following functions:
ObjectInfo(obj,attribute) -> returns Pen, Brush and other values about
graphical object (attribute 2 for pen value)
StyleAttr(style,attribute) -> returns one attribute of Pen, Brush etc.
value(attribute 1 for Pen width, 2 for Pen pattern, 4 for Pen
Tray, Jacques and others
If you are interested in Win32 API and haven't
yet bought Dan Appleman's exelent book, have no Visual Basic or if you are just
lacking some special information about it. It is worth checking out Win32 API
function reference at
http://msdn.microsoft.com/library/sd
Hi Trevor,
You should check if your font is shown on text style dialog. If so, you have
created a ANSI charset instead of SYMBOL charset for your True Type Font.
You really cannot tell it by viewing it on Word since it displays all types
of TTFs in one popup.
Regards,
Anssi
-Original
40 matches
Mail list logo