GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
Window border color
Window border color
Iniciado por Antonino, ago., 21 2019 9:27 AM - 4 respostas
Conecte-se…
Antonino
#1
Publicado em agosto, 21 2019 - 9:27 AM
Hi Gents,
is there a way to change the default window border color for a specific window in Windev 24? I can't see such an option in the description of the window and can't see any tip in the help to do this programmatically.
Any suggestion?
Thank you all for your time and care.
BR.
Denunciar
0
0
Marc MUYLAERT
#2
Membro registado
9 mensagems
Popularité : +1 (1 vote)
Publicado em agosto, 22 2019 - 11:41 AM
Hi,
I just discovered the tool any windev user has : wdapi.exe
it contains a lot of api info.
I am checking it out..
Denunciar
0
0
Antonino
#3
Publicado em agosto, 22 2019 - 4:29 PM
Hi Gents,
I have been trying to use this, it should change the background color of a window, but it does not work. Any suggestion?
CONSTANT
CO
LOR_WINDOW
=
5
END
// Arrays.
garrElements
is array of
1
int
= [
CO
LOR_WINDOW
]
garrColors
is array of
1
int
= [
RGB
(
0x80
,
0x00
,
0x80
)
]
// Booleans.
gb
BOOL
is boolean
// Set background color.
gb
BOOL
=
API
(
"USER32"
,
"SetSysColors"
,
ArrayCount
(
garrElements
)
,
garrElements
[
1
]
,
garrColors
[
1
]
)
BR
Denunciar
0
0
Guenter Predl
#4
Publicado em agosto, 23 2019 - 3:32 PM
Hi, changing the background color of a window is easy! Example:
MyWindow..BackGroundColor = iPastelRed
Denunciar
0
0
Antonino
#5
Publicado em agosto, 26 2019 - 9:35 AM
Guenter Predl wrote:
Hi, changing the background color of a window is easy! Example:
MyWindow..BackGroundColor = iPastelRed
Hi Guenter,
this changes the background color of the window but not the border color or the color of the title bar which is what I am trying to achieve.
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto