Dominoarea.org Index du Forum Dominoarea.org
 Forum, Téléchargement Lotus Domino/Notes en Français 
 FAQFAQ   PartenairesPartenaires   RechercherRechercher   Liste des MembresListe des Membres   Groupes d'utilisateursGroupes d'utilisateurs 
 S'enregistrerS'enregistrer   ConnexionConnexion 
La date/heure actuelle est 09 Sep 2010 à 12:01
Toutes les heures sont au format UTC + 1
Voir les nouveaux messages depuis votre dernière visite
Voir les messages sans réponses
 Index du Forum » IBM-Lotus Domino » Trucs et Astuces » Développement » Lotus C++ API en LotusScipt
ACTODS
Modérateurs: Modérateur
Poster un nouveau sujet   Répondre au sujet Voir le sujet précédentVoir le sujet suivant
Page 1 sur 1 [2 messages]  
Auteur Message
Stephane Maillard
Lord of DominoArea
Lord of DominoArea


Inscrit le: 16 Déc 2004
Messages: 9388
Warnings: 0 0 Warnings
Spécialité: Développeur
Localisation: Bretagne
Pays:
Sexe:
Age: 40
Navigateur:
 ACTODS

Bonjour,
Code:
Option Public
' ODS_DEFS      => ods.h
' COLORODS_DEFS   => colorods.h
' EDIT_ODS_DEFS   => editods.h

Const ACTION_SHOW_IN_MENU = &h00000001
Const ACTION_SHOW_IN_BAR = &h00000002
Const ACTION_SHOW_WHEN_PREVIEWING = &h00000004
Const ACTION_SHOW_WHEN_READING = &h00000008
Const ACTION_SHOW_WHEN_EDITING = &h00000010
Const ACTION_SHOW_ON_OLE_LAUNCH = &h00000020
Const ACTION_OLE_CLOSE_WHEN_CHOSEN = &h00000040
Const ACTION_NO_FORMULA = &h00000080
Const ACTION_SHOW_WHEN_PREVEDITING = &h00000100
Const ACTION_OLE_DOC_WINDOW_TO_FRONT = &h00001000
Const ACTION_HIDE_FROM_NOTES = &h00002000
Const ACTION_HIDE_FROM_WEB = &h00004000
Const ACTION_READING_ORDER_RTL = &h00008000
Const ACTION_SHARED = &h00010000
Const ACTION_MODIFIED = &h00020000
Const ACTION_ALWAYS_SHARED = &h00040000
Const ACTION_ALIGN_ICON_RIGHT = &h00080000
Const ACTION_IMAGE_RESOURCE_ICON = &h00100000
Const ACTION_FRAME_TARGET = &h00400000
Const ACTION_TEXT_ONLY_IN_MENU = &h00800000
Const ACTION_BUTTON_TO_RIGHT = &h01000000
Const ACTION_HIDE_FROM_MOBILE = &h04000000
Const ACTION_SHOW_IN_POPUPMENU = &h10000000
Const ACTION_ODS_FLAG_MASK = &h15F9F1FF

Const MAX_ACTION_DEPTH = (12)

Const ACTION_CONTROL_TYPE_BUTTON = 0
Const ACTION_CONTROL_TYPE_CHECBOX = 1
Const ACTION_CONTROL_TYPE_MENU_SEPARATOR = 2

Const ACTION_BAR_FLAG_NO_SYS_COLOR = &h00000001
Const ACTION_BAR_FLAG_ALIGN_RIGHT = &h00000002
Const ACTION_BAR_FLAG_TRANS_BUTTONS = &h00000004
Const ACTION_BAR_FLAG_SYS_BUTTONS = &h00000008
Const ACTION_BAR_FLAG_BTNBCK_IMGRSRC = &h00000010
Const ACTION_BAR_FLAG_BARBCK_IMGRSRC = &h00000020
Const ACTION_BAR_FLAG_SET_PADDING = &h00000040
Const ACTION_BAR_FLAG_USE_APPLET = &h00000080
Const ACTION_BAR_FLAG_SET_HEIGHT = &h00000100
Const ACTION_BAR_FLAG_ABSOLUTE_HEIGHT = &h00000200
Const ACTION_BAR_FLAG_BACKGROUND_HEIGHT = &h00000400
Const ACTION_BAR_FLAG_SET_WIDTH = &h00000800
Const ACTION_BAR_FLAG_BACKGROUND_WIDTH = &h00001000
Const ACTION_BAR_FLAG_SHOW_HINKY_ALWAYS = &h00002000

Const ACTIONBAR_BACKGROUND_REPEATONCE = 1
Const ACTIONBAR_BACKGROUND_REPEATVERT = 2
Const ACTIONBAR_BACKGROUND_REPEATHORIZ = 3
Const ACTIONBAR_BACKGROUND_TILE = 4
Const ACTIONBAR_BACKGROUND_CENTER_TILE = 5
Const ACTIONBAR_BACKGROUND_REPEATSIZE = 6
Const ACTIONBAR_BACKGROUND_REPEATCENTER = 7

Const ACTIONBAR_BUTTON_WIDTH_DEFAULT = 0
Const ACTIONBAR_BUTTON_WIDTH_BACKGROUND = 1
Const ACTIONBAR_BUTTON_WIDTH_ABSOLUTE = 2

Const ACTIONBAR_BUTTON_TEXT_LEFT = 0
Const ACTIONBAR_BUTTON_TEXT_CENTER = 1
Const ACTIONBAR_BUTTON_TEXT_RIGHT = 2

Const ACTIONBAREXT_WIDTH_STYLE_VALID_FLAG = &h00000001

Const ACTION_IGNORE_SYSTEM_ACTIONS_VERSION1 = 0

Type CDACTION
   Header As Long ' LSIG
   Type As Integer
   IconIndex As Integer
   Flags As Long ' Action flags
   TitleLen As Integer
   FormulaLen As Integer
   ShareId As Long
End Type

Type CDACTIONEXT
   Header As Long ' WSIG
   dwFlags As Long
   wControlType As Integer
   wControlFormulaLen As Integer
   wLabelFormulaLen As Integer
   wParentLabelFormulaLen As Integer
   dwExtra(3) As Long
End Type

Type CDACTIONBAR
   Header As Long ' BSIG
   BackColor As Integer
   LineColor As Integer
   LineStyle As Integer
   BorderStyle As Integer
   BorderWidth As Integer
   dwFlags As Long
   ShareId As Long
   FontID As Long ' FONTID
   BtnHeight As Integer
   HeightSpc As Integer
End Type

Type CDACTIONBAREXT
   Header As Long ' WSIG
   BackColor As Integer ' COLOR_VALUE
   LineColor As Integer ' COLOR_VALUE
   FontColor As Integer ' COLOR_VALUE
   ButtonColor As Integer ' COLOR_VALUE
   BtnBorderDisplay As Integer
   wAppletHeight As Integer
   wBarBackgroundRepeat As Integer
   BtnWidthStyle As Byte
   BtnTextJustify As Byte
   wBtnWidthAbsolute As Integer
   wBtnInternalMargin As Integer
   dwFlags As Long ' ACTIONBAREXT_*_FLAGs
   barFontId As Long ' FONTID
   barHeight As Integer ' LENGTH_VALUE
   Spare(12) As Long
End Type
Si vous trouvez des erreurs n'hésitez pas.
_________________
Cordialement

Stéphane Maillard

MessagePosté le: 23 Oct 2006 à 17:35
 Voir le profil de l'utilisateur Envoyer un message privé Visiter le site web de l'utilisateur
 Revenir en haut de page 
Stephane Maillard
Lord of DominoArea
Lord of DominoArea


Inscrit le: 16 Déc 2004
Messages: 9388
Warnings: 0 0 Warnings
Spécialité: Développeur
Localisation: Bretagne
Pays:
Sexe:
Age: 40
Navigateur:
Update avec colorods,

' COLORODS_DEFS => colorods.h
Use "colorods"

Code:
Type CDACTIONBAREXT
   Header As Long ' WSIG
   BackColor As COLOR_VALUE
   LineColor As COLOR_VALUE
   FontColor As COLOR_VALUE
   ButtonColor As COLOR_VALUE
   BtnBorderDisplay As Integer
   wAppletHeight As Integer
   wBarBackgroundRepeat As Integer
   BtnWidthStyle As Byte
   BtnTextJustify As Byte
   wBtnWidthAbsolute As Integer
   wBtnInternalMargin As Integer
   dwFlags As Long ' ACTIONBAREXT_*_FLAGs
   barFontId As Long ' FONTID
   barHeight As Integer ' LENGTH_VALUE
   Spare(12) As Long
End Type

_________________
Cordialement

Stéphane Maillard

MessagePosté le: 24 Oct 2006 à 01:19
 Voir le profil de l'utilisateur Envoyer un message privé Visiter le site web de l'utilisateur
 Revenir en haut de page 
Montrer les messages depuis:   Trier par:   
Page 1 sur 1 [2 messages]  
Poster un nouveau sujet   Répondre au sujet Voir le sujet précédentVoir le sujet suivant
 Index du Forum » IBM-Lotus Domino » Trucs et Astuces » Développement » Lotus C++ API en LotusScipt
Sauter vers:  

Vous ne pouvez pas poster de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas voter dans les sondages de ce forum
Vous ne pouvez pas joindre des fichiers dans ce forum
Vous pouvez télécharger des fichiers dans ce forum

phpBB SEO URLs V2

Flux RSS 
Powered by phpBB © 2001, 2005 phpBB Group
Traduction par : phpBB-fr.com
Version française de Categories Hierarchy © GGWeb-FR
[ Temps : 0.2677s ][ Requêtes : 15 (0.0245s) ][ GZIP actif - Débogage actif ]