Thread View: comp.lang.basic.visual.database
3 messages
3 total messages
Started by Jose Montaner
Sun, 17 Aug 1997 00:00
NECESITO ALGUNAS CONSTANTES ----- I NEED SOME CONSTANTS :-)
Author: Jose Montaner
Date: Sun, 17 Aug 1997 00:00
Date: Sun, 17 Aug 1997 00:00
113 lines
6665 bytes
6665 bytes
Este es un mensaje con m�ltiples partes en formato MIME.
------=_NextPart_000_01BCAB35.FB969F20
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Hola a todos y gracias de antemano:
Hi, and excuse my poor english:
El caso es que estoy haciendo un programita que accede al Menu via API, me
gustaria averiguar las caracteristicas y estados de cada una de las lineas
del menu, la funci�n GetMenuItemInfo() del API proporciona la informaci�n.
La funcion GeMenuItemInfo() hace referencia a la estructura MENUITEMINFO
que es la siguiente:
I want get the item menu properties with API and i'll use the
getMenuItemInfo() fucntion. The funciones refers MENUITEMINFO with the next
estructure:
Private Type MENUITEMINFO
cbSize As Long
fMask As Long
fType As Long
fState As Long
wID As Long
hSubMenu As Long
hbmpChecked As Long
hbmpUnchecked As Long
dwItemData As Long
dwTypeData As String
cch As Long
End Type
Necesito los valores de las siguientes constantes:
I need the values for the next constants:
fMask:
MIIM_CHECKMARKS, MIIM_DATA, MIIM_ID, MIIM_STATE, MIIM_SUBMENU, MIIM_TYPE.
fType:
MFT_BITMAP, MFT_MENUBARBREAK, MFT_MENUCREAK, MFT_OWNERDRAW, MFT_RADIOCHECK,
MFT_RIGHTJUSTIFY, MFT_SEPARATOR, MFT_STRING.
fState:
MFS_CHECKED, MSF_DEFAULT, MFS_DISABLED, MFS_ENABLED, MFS_GRAYED,
MFS_HILITE, MFS_UNCHECKED, MFS_UNHILITE.
Si sabeis el valor de las constantes, por favor enviadmelo por mail, y si
me pudieseis decir de donde las habeis sacado :-), seria de cine!!!!
If you knows this values, please, send me via e-mail.
Venga, muchas gracias de antemano y feliz vuelo.
Best regards.
--
e-mail prodisoft@catwordl.net
------=_NextPart_000_01BCAB35.FB969F20
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
color=3D"#000000" face=3D"Times New Roman"><b>Hola a todos y gracias de =
antemano:<br><font color=3D"#000080"><i>Hi, and excuse my poor =
english:<br></i></b><font color=3D"#000000"><br><b>El caso es que estoy =
haciendo un programita que accede al Menu via API, me gustaria averiguar =
las caracteristicas y estados de cada una de las lineas del menu, la =
funci=F3n GetMenuItemInfo() del API proporciona la informaci=F3n. La =
funcion GeMenuItemInfo() hace referencia a la estructura MENUITEMINFO =
que es la siguiente:<br><font color=3D"#000080"><i>I want get the item =
menu properties with API and i'll use the getMenuItemInfo() fucntion. =
The funciones refers MENUITEMINFO with the next estructure:<font =
color=3D"#FF0000"><br></i></b><font color=3D"#000000" =
face=3D"Arial"><br><font color=3D"#0000FF">Private Type <font =
color=3D"#000000">MENUITEMINFO<br> cbSize <font =
color=3D"#0000FF">As Long<br><font color=3D"#000000"> =
fMask <font color=3D"#0000FF">As Long<br><font =
color=3D"#000000"> fType <font color=3D"#0000FF">As =
Long<br><font color=3D"#000000"> fState <font =
color=3D"#0000FF">As Long<br><font color=3D"#000000"> =
wID <font color=3D"#0000FF">As Long<br><font =
color=3D"#000000"> hSubMenu <font color=3D"#0000FF">As =
Long<br><font color=3D"#000000"> hbmpChecked<font =
color=3D"#0000FF"> As Long<br><font color=3D"#000000"> =
hbmpUnchecked <font color=3D"#0000FF">As Long<br><font =
color=3D"#000000"> dwItemData <font =
color=3D"#0000FF">As Long<br><font color=3D"#000000"> =
dwTypeData <font color=3D"#0000FF">As String<br><font =
color=3D"#000000"> cch <font color=3D"#0000FF">As =
Long<br>End Type<font color=3D"#000000"><br><br><font face=3D"Times New =
Roman"><b>Necesito los valores de las siguientes =
constantes:</b><br><font color=3D"#000080"><b><i>I need the values for =
the next constants:<br></i></b><font color=3D"#000000" =
face=3D"Arial"><br><font face=3D"Courier New">fMask:<br>MIIM_CHECKMARKS, =
MIIM_DATA, MIIM_ID, MIIM_STATE, MIIM_SUBMENU, =
MIIM_TYPE.<br><br>fType:<br>MFT_BITMAP, MFT_MENUBARBREAK, MFT_MENUCREAK, =
MFT_OWNERDRAW, MFT_RADIOCHECK, MFT_RIGHTJUSTIFY, MFT_SEPARATOR, =
MFT_STRING.<br><br>fState:<br>MFS_CHECKED, MSF_DEFAULT, MFS_DISABLED, =
MFS_ENABLED, MFS_GRAYED, MFS_HILITE, MFS_UNCHECKED, =
MFS_UNHILITE.<br><font face=3D"Arial"><br><font face=3D"Times New =
Roman"><b>Si sabeis el valor de las constantes, por favor enviadmelo por =
mail, y si me pudieseis decir de donde las habeis sacado :-), seria de =
cine!!!!<br><font color=3D"#000080"><i>If you knows this values, please, =
send me via e-mail.<br></i><font color=3D"#000000"><br>Venga, muchas =
gracias de antemano y feliz vuelo.<br><font color=3D"#000080"><i>Best =
regards.</b><br></i><font color=3D"#000000" face=3D"Arial">-- <br>e-mail =
<font color=3D"#0080FF"><u>prodisoft@catwordl.net</u><font =
color=3D"#000000"><br><br></p>
</font></font></font></font></font></font></font></font></font></font></f=
ont></font></font></font></font></font></font></font></font></font></font=
></font></font></font></font></font></font></font></font></font></font></=
font></font></font></font></font></font></font></font></font></font></fon=
t></body></html>
------=_NextPart_000_01BCAB35.FB969F20--
Re: NECESITO ALGUNAS CONSTANTES ----- I NEED SOME CONSTANTS :-)
Author: Domenico Statuto
Date: Mon, 18 Aug 1997 00:00
Date: Mon, 18 Aug 1997 00:00
99 lines
4175 bytes
4175 bytes
Hi, Jose Montaner <prodisoft@catworld.net> wrote in article <01bcab25$37ec3d60$c95e4ac2@none.catworld.net>... I want get the item menu properties with API and i'll use the getMenuItemInfo() fucntion. I need the values for the next constants: fMask: MIIM_CHECKMARKS, MIIM_DATA, MIIM_ID, MIIM_STATE, MIIM_SUBMENU, MIIM_TYPE. Public Const MIIM_CHECKMARKS = &H8 Public Const MIIM_DATA = &H20 Public Const MIIM_ID = &H2 Public Const MIIM_STATE = &H1 Public Const MIIM_SUBMENU = &H4 Public Const MIIM_TYPE = &H10 fType: MFT_BITMAP, MFT_MENUBARBREAK, MFT_MENUCREAK, MFT_OWNERDRAW, MFT_RADIOCHECK, MFT_RIGHTJUSTIFY, MFT_SEPARATOR, MFT_STRING. Public Const MF_DEFAULT = &H1000& Public Const MF_RIGHTJUSTIFY = &H4000& ' Menu flags for Add/Check/EnableMenuItem() Public Const MF_INSERT = &H0& Public Const MF_CHANGE = &H80& Public Const MF_APPEND = &H100& Public Const MF_DELETE = &H200& Public Const MF_REMOVE = &H1000& Public Const MF_BYCOMMAND = &H0& Public Const MF_BYPOSITION = &H400& Public Const MF_SEPARATOR = &H800& Public Const MF_ENABLED = &H0& Public Const MF_GRAYED = &H1& Public Const MF_DISABLED = &H2& Public Const MF_UNCHECKED = &H0& Public Const MF_CHECKED = &H8& Public Const MF_USECHECKBITMAPS = &H200& Public Const MF_STRING = &H0& Public Const MF_BITMAP = &H4& Public Const MF_OWNERDRAW = &H100& Public Const MF_POPUP = &H10& Public Const MF_MENUBARBREAK = &H20& Public Const MF_MENUBREAK = &H40& Public Const MF_UNHILITE = &H0& Public Const MF_HILITE = &H80& Public Const MF_SYSMENU = &H2000& Public Const MF_HELP = &H4000& Public Const MF_MOUSESELECT = &H8000& Public Const MFT_BITMAP = MF_BITMAP Public Const MFT_MENUBARBREAK = MF_MENUBARBREAK Public Const MFT_MENUBREAK = MF_MENUBREAK Public Const MFT_OWNERDRAW = MF_OWNERDRAW Public Const MFT_RADIOCHECK = &H200& Public Const MFT_RIGHTJUSTIFY = MF_RIGHTJUSTIFY Public Const MFT_RIGHTORDER = &H2000& Public Const MFT_SEPARATOR = MF_SEPARATOR Public Const MFT_STRING = MF_STRING fState: MFS_CHECKED, MSF_DEFAULT, MFS_DISABLED, MFS_ENABLED, MFS_GRAYED, MFS_HILITE, MFS_UNCHECKED, MFS_UNHILITE. Public Const MFS_CHECKED = MF_CHECKED Public Const MFS_DEFAULT = MF_DEFAULT Public Const MFS_ENABLED = MF_ENABLED Public Const MFS_GRAYED = &H3& Public Const MFS_DISABLED = MFS_GRAYED Public Const MFS_HILITE = MF_HILITE Public Const MFS_UNCHECKED = MF_UNCHECKED Public Const MFS_UNHILITE = MF_UNHILITE Si sabeis el valor de las constantes, por favor enviadmelo por mail, y si me pudieseis decir de donde las habeis sacado :-), seria de cine!!!! If you knows this values, please, send me via e-mail. Some of the constants are listed in the API loader that VB installs in its directory (apilod.exe). The others are taken from Dan Appleman's The Visual Basic Programmer's Guide to the Win32 API. www.desaware.com, which I recommend. Domenico
Re: NECESITO ALGUNAS CONSTANTES ----- I NEED SOME CONSTANTS :-)
Author: Jose Ramon
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
77 lines
3727 bytes
3727 bytes
Jose Montaner wrote: > > Hola a todos y gracias de antemano: > Hi, and excuse my poor english: > > El caso es que estoy haciendo un programita que accede al Menu via > API, me gustaria averiguar las caracteristicas y estados de cada una > de las lineas del menu, la funci�n GetMenuItemInfo() del API > proporciona la informaci�n. La funcion GeMenuItemInfo() hace > referencia a la estructura MENUITEMINFO que es la siguiente: > I want get the item menu properties with API and i'll use the > getMenuItemInfo() fucntion. The funciones refers MENUITEMINFO with the > next estructure: > > Private Type MENUITEMINFO > cbSize As Long > fMask As Long > fType As Long > fState As Long > wID As Long > hSubMenu As Long > hbmpChecked As Long > hbmpUnchecked As Long > dwItemData As Long > dwTypeData As String > cch As Long > End Type > > Necesito los valores de las siguientes constantes: > I need the values for the next constants: > > fMask: > MIIM_CHECKMARKS, MIIM_DATA, MIIM_ID, MIIM_STATE, MIIM_SUBMENU, > MIIM_TYPE. > > fType: > MFT_BITMAP, MFT_MENUBARBREAK, MFT_MENUCREAK, MFT_OWNERDRAW, > MFT_RADIOCHECK, MFT_RIGHTJUSTIFY, MFT_SEPARATOR, MFT_STRING. > > fState: > MFS_CHECKED, MSF_DEFAULT, MFS_DISABLED, MFS_ENABLED, MFS_GRAYED, > MFS_HILITE, MFS_UNCHECKED, MFS_UNHILITE. > > Si sabeis el valor de las constantes, por favor enviadmelo por mail, y > si me pudieseis decir de donde las habeis sacado :-), seria de > cine!!!! > If you knows this values, please, send me via e-mail. > > Venga, muchas gracias de antemano y feliz vuelo. > Best regards. > -- > e-mail prodisoft@catwordl.net No lo he comprobado pero seguro que las tienes en el libro de Applemann titulado API de Windows 32 bit. Saludos. -- Jose Ramon. Tipo Bits/Clave Fecha Identificador pub 1024/BA4F1B15 1997/03/09 Jose Ramon <jlap@zaz.servicom.es> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3ia mQCNAzMiDnIAAAEEANY7Uf9j0d8prihhVJeqiRoXMntXmtxnjD1A8rG9X7jPQc/z YqFQLobZFc1RbJXPuZM9n7rk62aHLYvshK6yUEXB5XfwwZL+T90NgM1vWQ1guKYB ZJ/UrycCxKrjfmz8uX5tQvs24TamKkOnkQ11PS9s0Ic6M+p5P4YPW6y6TxsVAAUR tCFKb3NlIFJhbW9uIDxqbGFwQHphei5zZXJ2aWNvbS5lcz6JAJUDBRAzIg5yhg9b rLpPGxUBAeZ+BAC2oqeLXaSZFxHUdSmOrXDV9b3srCcZ1iqlWUM010VhUSrt/rek l+2E+q/JqnAk9FvPK42ljHLsaRdbXe776JHOfJOuItmqUcPdZB8I0w+atx0jYkVk bKFgosEIkkRLc/0qJrraIyAAOKpPjTvpNGipAWWlTPH6YNR+jws8Iwm5JQ== =UAJn -----END PGP PUBLIC KEY BLOCK-----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads