Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Picalausa François
"jt" a écrit dans le message de news:
Comment faire pour rajouter des menus dans VB6
Hello,
Comme indiqué dans cette fiche: http://support.microsoft.com/kb/189468/fr un addin peut ajouter un menu au travers de le collection commandbars: 'See if the Add-Ins menu can be found. Set cbMenu = VBInstance.CommandBars("Add-Ins")
'Create a new menu item in the Add-Ins menu. Set cbMenuCommandBar = cbMenu.Controls.Add(1)
'Set the menu caption. cbMenuCommandBar.Caption = sCaption
Cet article peut aider à la compréhension ces éléments http://msdn.microsoft.com/library/en-us/vbcon98/html/vbconcommandbarsareplacementformenustoolbars.asp
-- Picalausa François
"jt" <jt@nospam.fr> a écrit dans le message de news:
eNU5Ut0HGHA.2696@TK2MSFTNGP14.phx.gbl...
Comment faire pour rajouter des menus dans VB6
Hello,
Comme indiqué dans cette fiche:
http://support.microsoft.com/kb/189468/fr
un addin peut ajouter un menu au travers de le collection commandbars:
'See if the Add-Ins menu can be found.
Set cbMenu = VBInstance.CommandBars("Add-Ins")
'Create a new menu item in the Add-Ins menu.
Set cbMenuCommandBar = cbMenu.Controls.Add(1)
'Set the menu caption.
cbMenuCommandBar.Caption = sCaption
Cet article peut aider à la compréhension ces éléments
http://msdn.microsoft.com/library/en-us/vbcon98/html/vbconcommandbarsareplacementformenustoolbars.asp
Comme indiqué dans cette fiche: http://support.microsoft.com/kb/189468/fr un addin peut ajouter un menu au travers de le collection commandbars: 'See if the Add-Ins menu can be found. Set cbMenu = VBInstance.CommandBars("Add-Ins")
'Create a new menu item in the Add-Ins menu. Set cbMenuCommandBar = cbMenu.Controls.Add(1)
'Set the menu caption. cbMenuCommandBar.Caption = sCaption
Cet article peut aider à la compréhension ces éléments http://msdn.microsoft.com/library/en-us/vbcon98/html/vbconcommandbarsareplacementformenustoolbars.asp