Re: MI Altering Objects in Layouts (Text Objects)

1999-07-22 Thread Anssi Joutsiniemi
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

MI AddressOf API

1999-08-10 Thread Anssi Joutsiniemi
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

Re: MI Embedded Windows in MB

1999-08-11 Thread Anssi Joutsiniemi
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

Re: MI MB: can one control be made dependent on the output of another control in db

1999-08-12 Thread Anssi Joutsiniemi
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

Re: MI MB: can one control be made dependent on the output of another control in db

1999-08-12 Thread Anssi Joutsiniemi
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),

Re: MI frame on layout frame

1999-08-26 Thread Anssi Joutsiniemi
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

Re: MI TrueType font to Symbol?

1999-09-02 Thread Anssi Joutsiniemi
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,

Vs: MI Oracle questions

1999-09-07 Thread Anssi Joutsiniemi
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 oracle

Re: MI Print Int

1999-09-08 Thread Anssi Joutsiniemi
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]

MI Network Drive

1999-09-09 Thread Anssi Joutsiniemi
Hello, Does anybody know how to map a network drive w/ Win32Api? Thanks, Anssi

MI Undocumented

1999-09-09 Thread Anssi Joutsiniemi
Dear all, We all know some of them like RowID and map object functions are poorly documented for MIPro users but availablevia 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

Re: MI Undocumented

1999-09-10 Thread Anssi Joutsiniemi
DIT_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' [EMAIL PROTECTE

Re: MI converting Mapinfo to illustrator

1999-09-13 Thread Anssi Joutsiniemi
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

Re: MI how to remove a map window's minimize button?

1999-12-15 Thread Anssi Joutsiniemi
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

MI 5.5 performance problem

1999-12-28 Thread Anssi Joutsiniemi
Hello, I justupdated 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 strangesince version 5.0 seem to work as it used to. Does anybody have a

Re: MI MB: How do I query dialog position (Win API?)

2000-01-05 Thread Anssi Joutsiniemi
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

Re: MI Files on Most Recently Used-list

2000-01-10 Thread Anssi Joutsiniemi
- 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. 1.) My MB

Re: MI Tweaking the registry

2000-01-28 Thread Anssi Joutsiniemi
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:

Re: MI MapBasic question

2000-02-28 Thread anssi joutsiniemi
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.

Re: MI Tool for merging several tables

2000-07-12 Thread Anssi Joutsiniemi
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

MI Undocumented (revisited)

2000-07-14 Thread Anssi Joutsiniemi
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 arethey build for(since not documented).

Re: MI Mapinfo Macro's?

2000-08-10 Thread Anssi Joutsiniemi
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), although

Re: MI MapBasic: dec to hex

2000-09-19 Thread Anssi Joutsiniemi
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

Re: MI Snap option and MapBasic

2000-09-26 Thread Anssi Joutsiniemi
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