IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Cpcdos Discussion :

Position du menu


Sujet :

Cpcdos

  1. #1
    Membre averti
    Avatar de LeoBeutel
    Homme Profil pro
    Étudiant
    Inscrit en
    Octobre 2014
    Messages
    139
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bas Rhin (Alsace)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Octobre 2014
    Messages : 139
    Points : 324
    Points
    324
    Par défaut Position du menu
    Bonsoir tout le monde !

    J'ai récament modifier la position de la barre des taches (en bas, comme Windows (c'est provisoire) ) et j'ai un petit souçis c'est que je ne sais pas ou placer la fenêtre du menu! Je ne sais pas quel sont les pos X et Y!

    Help!

    ps: mon MENU_BAR.CPC

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    
    
    :_CREER:
    
    Fix/ TAILLEY = 35
    fix/ OUVERT = 0
    fix/ POSY = /C %ECRY% - 35
    
    ini/ fenetre(
    	ini;nom = "MENU_BAR"
    	ini;texte = "BARRE MENU D'APPLICATION"
    	ini;type = "3;M0A1R0F0T0HS1"
    	ini;couleur = "000,000,000"
    	ini;px = "0"
    	ini;py = "%POSY%"
    	ini;tx = "EX"
    	ini;ty = "%TAILLEY%"
    	creer/
    ini/ fenetre)
    
    
    ini/ imagebox(
    	ini;fenetre = "MENU_BAR"
    	ini;nom = "IMG_BAR1"
    	ini;couleur = "000,000,000"
    	ini;image = "%MEDIA%\IUG\Bureau\BAR.BMP"
    	ini;px = "0"
    	ini;py = "0"
    	ini;tx = "EX"
    	ini;ty = "%TAILLEY%"
    	creer/
    ini/ imagebox)
    
    fix/ IUG_REDUCTION = MENU_BAR
    fix/ IUG_REDUCTION_ESPACE = 120
    fix/ IUG_REDUCTION_POS = 1
    fix/ IUG_REDUCTION_POSX = 50
    fix/ IUG_REDUCTION_POSY = 1
    
    
    ini/ imagebox(
    	ini;fenetre = "MENU_BAR"
    	ini;nom = "IMG_MENU"
    	ini;couleur = "000,000,000"
    	ini;image = "%MEDIA%\IUG\Bureau\MENU.BMP"
    	ini;px = "0"
    	ini;py = "0"
    	ini;tx = "46"
    	ini;ty = "36"
    	creer/
    	ev/ %SYSTEME%\BUREAU\MENU_EV.CPC
    ini/ imagebox)
    
    
    fix/ PXX = /c %ECRX% - 72
    
    ini/ label(
    	ini;fenetre = "MENU_BAR"
    	ini;nom = "LBL_HEURE*"
    	ini;texte = "Ini.."
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "%PXX%"
    	ini;py = "4"
    	ini;couleurf = "168,208,248"
    	ini;couleurp = "010,010,010"
    	ini;transparent = "0"
    	ini;type = "3"
    	creer/
    ini/ label)
    
    
    fix/ PXX = /c %PXX% - 15
    
    ini/ label(
    	ini;fenetre = "MENU_BAR"
    	ini;nom = "LBL_DATE*"
    	ini;texte = "Ini.."
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "%PXX%"
    	ini;py = "17"
    	ini;couleurf = "168,204,248"
    	ini;couleurp = "010,010,010"
    	ini;transparent = "0"
    	ini;type = "3"
    	creer/
    ini/ label)
    
    FIX/ PXX2 = /c %PXX% - 72
    
    fix/ pxx21 = /c %PXX2% - 20
    Merci de votre aide!




    Cordialement,
    Léo Endor, créateur de OSSeek.

  2. #2
    Membre chevronné
    Avatar de cpcdos
    Homme Profil pro
    Ingé/concepteur chez Capgemini. Alstom APTIS. Concepteur de Felly autonomous vehicle software.
    Inscrit en
    Mai 2010
    Messages
    588
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 29
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Ingé/concepteur chez Capgemini. Alstom APTIS. Concepteur de Felly autonomous vehicle software.
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2010
    Messages : 588
    Points : 1 770
    Points
    1 770
    Billets dans le blog
    1
    Par défaut
    Salut

    J'ai testé ton code, je ne vois pas ton problème, j'ai bien ton menu en bas, expliques moi ton soucis

  3. #3
    Membre averti
    Avatar de LeoBeutel
    Homme Profil pro
    Étudiant
    Inscrit en
    Octobre 2014
    Messages
    139
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bas Rhin (Alsace)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Octobre 2014
    Messages : 139
    Points : 324
    Points
    324
    Par défaut
    en faite, c'est LISTE.CPC qui est en haut... et pas en bas...

  4. #4
    Membre averti
    Avatar de LeoBeutel
    Homme Profil pro
    Étudiant
    Inscrit en
    Octobre 2014
    Messages
    139
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bas Rhin (Alsace)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Octobre 2014
    Messages : 139
    Points : 324
    Points
    324
    Par défaut
    Voici mon LISTE.CPC





    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    fix/ OUVERT = 1
    fix/ POSY2 = /c %ECRY% - 150
    
    ini/ fenetre(
    	ini;nom = "MENU_LST"
    	ini;texte = "MENU_CONTEXTUEL"
    	ini;type = "2;M0A1R0F0T0HF0"
    	ini;couleur = "033,165,228"
    	ini;px = "5"
    	ini;py = "%POSY%"
    	ini;tx = "130"
    	ini;ty = "150"
    	creer/
    ini/ fenetre)
    
    ini/ label(
    	ini;fenetre = "MENU_LST"
    	ini;nom = "PROG1"
    	ini;texte = "Console"
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "10"
    	ini;py = "10"
    	ini;type = "3"
    	ini;couleurf = "255,255,255"
    	ini;couleurp = "000,000,000"
    	ini;transparent = "1"
    	creer/
    	ev/ %SYSTEME%\Bureau\MENU_EV.CPC
    ini/ label)
    
    
    ini/ label(
    	ini;fenetre = "MENU_LST"
    	ini;nom = "PROG2"
    	ini;texte = "Demarrer"
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "10"
    	ini;py = "30"
    	ini;type = "3"
    	ini;couleurf = "255,255,255"
    	ini;couleurp = "000,000,000"
    	ini;transparent = "1"
    	creer/
    	ev/ %SYSTEME%\Bureau\MENU_EV.CPC
    ini/ label)
    
    ini/ label(
    	ini;fenetre = "MENU_LST"
    	ini;nom = "PROG3"
    	ini;texte = "Arreter"
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "10"
    	ini;py = "50"
    	ini;type = "3"
    	ini;couleurf = "255,255,255"
    	ini;couleurp = "000,000,000"
    	ini;transparent = "1"
    	creer/
    	ev/ %SYSTEME%\Bureau\MENU_EV.CPC
    ini/ label)
    
    ini/ label(
    	ini;fenetre = "MENU_LST"
    	ini;nom = "PROG4"
    	ini;texte = "Redemarrer"
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "10"
    	ini;py = "70"
    	ini;type = "3"
    	ini;couleurf = "255,255,255"
    	ini;couleurp = "000,000,000"
    	ini;transparent = "1"
    	creer/
    	ev/ %SYSTEME%\Bureau\MENU_EV.CPC
    ini/ label)
    
    
    ini/ label(
    	ini;fenetre = "MENU_LST"
    	ini;nom = "PROG5"
    	ini;texte = "Programmes"
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "10"
    	ini;py = "90"
    	ini;type = "3"
    	ini;couleurf = "255,255,255"
    	ini;couleurp = "000,000,000"
    	ini;transparent = "1"
    	creer/
    	ev/ %SYSTEME%\Bureau\MENU_EV.CPC
    ini/ label)
    
    
    ini/ label(
    	ini;fenetre = "MENU_LST"
    	ini;nom = "PROG6"
    	ini;texte = "Explorer"
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "10"
    	ini;py = "110"
    	ini;type = "3"
    	ini;couleurf = "255,255,255"
    	ini;couleurp = "000,000,000"
    	ini;transparent = "1"
    	creer/
    	ev/ %SYSTEME%\Bureau\MENU_EV.CPC
    ini/ label)
    
    ini/ label(
    	ini;fenetre = "MENU_LST"
    	ini;nom = "PROG7"
    	ini;texte = "Gestionnaire des taches"
    	ini;tx = "0"
    	ini;ty = "0"
    	ini;px = "10"
    	ini;py = "130"
    	ini;type = "3"
    	ini;couleurf = "255,255,255"
    	ini;couleurp = "000,000,000"
    	ini;transparent = "1"
    	creer/
    	ev/ %SYSTEME%\Bureau\MENU_EV.CPC
    ini/ label)

  5. #5
    Membre chevronné
    Avatar de cpcdos
    Homme Profil pro
    Ingé/concepteur chez Capgemini. Alstom APTIS. Concepteur de Felly autonomous vehicle software.
    Inscrit en
    Mai 2010
    Messages
    588
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 29
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Ingé/concepteur chez Capgemini. Alstom APTIS. Concepteur de Felly autonomous vehicle software.
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2010
    Messages : 588
    Points : 1 770
    Points
    1 770
    Billets dans le blog
    1
    Par défaut
    Salut,

    Tu calcule %POSY2% pour positionner ta fenetre en bas de l'écran, et dans ton INI;PY tu utilises %POSY%

  6. #6
    Membre averti
    Avatar de LeoBeutel
    Homme Profil pro
    Étudiant
    Inscrit en
    Octobre 2014
    Messages
    139
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bas Rhin (Alsace)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Communication - Médias

    Informations forums :
    Inscription : Octobre 2014
    Messages : 139
    Points : 324
    Points
    324
    Par défaut
    Merci bien

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [CS4] menu vert. spry : position sous-menu IE8 et FF
    Par evevev dans le forum Dreamweaver
    Réponses: 5
    Dernier message: 27/08/2010, 18h53
  2. Position du menu
    Par worldhugo dans le forum Mise en page CSS
    Réponses: 7
    Dernier message: 12/01/2009, 10h29
  3. Position sous-menu déroulant
    Par Bertrand79 dans le forum Mise en page CSS
    Réponses: 4
    Dernier message: 15/09/2008, 15h06
  4. Position popup menu - menu contextuel
    Par Jeannot dans le forum VB 6 et antérieur
    Réponses: 8
    Dernier message: 27/08/2007, 10h20
  5. Position du menu
    Par miya dans le forum Mise en page CSS
    Réponses: 8
    Dernier message: 23/05/2007, 14h32

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo