FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Change Color of Titlebar/Border/BackgroundImage
Change Color of Titlebar/Border/BackgroundImage
Débuté par Rik, 09 déc. 2017 18:06 - 1 réponse
Connectez-vous…
Rik
#1
Posté le 09 décembre 2017 - 18:06
Hello all,
Our program is able to run in 5 different configurations: Stand-alone, Cloud etc....
We would like to quickly distinguish between these, by using of one of the following features:
- Change the color in the title bar to blue or green, its white by default.
- Change the color of the border around the window.
- Change the background image, we now use a blue background, to a different image.
I would like to change this for all windows at once, so I do not have to change all the init window codes.
Solutions I already thought about:
- Generating different executables, but this would give too much problems in consistency.
- Changing the skin template with ChangeSkinTemplate(), but I'm a little bit hesitant about using this function.
All ideas are welcome!
Regards,
Rik
Signaler
0
0
Paulo Oliveira
#2
Posté le 12 décembre 2017 - 18:50
If your app is in WinDev.
What about using one event to run one procedure everytime you open one window and in that procedure change what you need.
in the project init code use something like this:
Event("Your_procedure","*.",WM_CREATE)
https://doc.windev.com/en-US/…
To define the Standard Windows constants you can use EXTERN
https://doc.windev.com/en-US/…
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte