Hi,

In addition to the talk about accelerator keys I have just uploaded a small
tool that uses diffent accelerator keys in MapInfo.

**************************************************************************************************************
Zooming is a small but useful tool that lets you move around in the map
without using the default pan and zoom tools. With Zooming you get the
ability to zoom and pan in the active map window, using the Page Up/Down
and the arrow keys. Every pan/zoom can be used with 3 diffent factors, e.g.
zoom in by factor 2, 4 or 8. Enjoy !
**************************************************************************************************************


If anyone is interested in how is was made, please let me know and I'll
tell you my secrets ;-)

Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS-Developer
Kampsax A/S, GIS Software & Solutions, Rugaardsvej 55, DK-5000 Odense, Denmark
tlf: + 45 63 13 50 13, dir: + 45 63 13 50 08, fax: + 45 63 13 50 90
mail: [EMAIL PROTECTED], http://www.mapinfo.dk, http://www.kampsax.dk
------------------------------------------------------------------------------------------------
----- Videresendt af Peter M�ller/Kampsax - 17-10-01 11:57 -----
                                                                                       
                        
                    Peter M�ller                                                       
                        
                                         Til:    [EMAIL PROTECTED]     
                        
                    17-10-01             cc:                                           
                        
                    10:13                Vedr.:  RE: MI-L windows accelerator codes    
                        
                                                                                       
                        
                                                                                       
                        



Hi,

Here are the one I know of, more or less continuing your list:


     Hex  Integer   Only key  ALT + Key       CTRL + Key     SHIFT + Key
               (W%NUM)   (W@%NUM)  (W^%NUM)   (W#%NUM)
F1:  &H70 112  W%112          W@%112     W^%112    W#%112
F2:  &H71 113  W%113          W@%113     W^%113    W#%113
F3:  &H72 114  W%114          W@%114     W^%114    W#%114
...
F10: &H79 121  W%121          W@%111     W^%121    W#%121
F11: &H7A 122  W%122          W@%122     W^%122    W#%122
F12: &H7B 123  W%123          W@%123     W^%123    W#%123

TAB  &H09 9    W%9       W@%9      W^%9       W#%9
PAUSE     &H13 19   W%19      W@%19      W^%19          W#%19
ESC  &H1B 27   W%27      W@%27     W^%27           W#%27
LEFT &H25 37   W%37      W@%37     W^%37           W#%37
UP   &H26 38   W%38      W@%38     W^%38           W#%38
RIGHT     &H27 39   W%39      W@%39      W^%39          W#%39
DOWN &H28 40   W%40      W@%40     W^%40           W#%40
...
and so on ...

I have found the Hex values for the keys in the excelent book "Visual Basic
Programmer's Guide to the Win32 API"
by Dan Appleman.

By the way, has anyone had any good experience using the ALT key in
combination with
other keys, for instance A or B ? For some reason I can't make it work.
Maybe there is a problem if there
is a menu that is activated using the same key combination ??

Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS-Developer
Kampsax A/S, GIS Software & Solutions, Rugaardsvej 55, DK-5000 Odense, Denmark
tlf: + 45 63 13 50 13, dir: + 45 63 13 50 08, fax: + 45 63 13 50 90
mail: [EMAIL PROTECTED], http://www.mapinfo.dk, http://www.kampsax.dk
------------------------------------------------------------------------------------------------
Jacques wrote:
Where could I find the windows accelerator codes that can be used in
defining keyboard shortcuts?

I know that <alt> F1 will launch "item1 /W%112" , F2 > 113 but what other
keys are available?




_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to