PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Change Color of Titlebar/Border/BackgroundImage
Change Color of Titlebar/Border/BackgroundImage
Started by Rik, Dec., 09 2017 6:06 PM - 1 reply
Connect yourself…
Rik
#1
Posted on December, 09 2017 - 6:06 PM
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
Report
0
0
Paulo Oliveira
#2
Posted on December, 12 2017 - 6:50 PM
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/…
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text