PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WX Informatica - Alterando o papel de parede do Windows
WX Informatica - Alterando o papel de parede do Windows
Started by BOLLER, Nov., 13 2018 1:56 AM - No answer
Connect yourself…
BOLLER
#1
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on November, 13 2018 - 1:56 AM
// Summary: <specify the procedure action>
// Syntax:
//[ <Result> = ] Wallpaper ()
//
// Parameters:
//
None
// Return Value:
//
boolean: //
None
//
// For instance:
// Indicate an example.
//
Procedure
Wallpaper
(
)
// Alterando o Papel de parede do Windows
b
Alterado
is boolean
=
False
fMakeDir
(
"C:\Temp\"
)
WRegFondEcran
is string
=
"C:\Temp\sapo.jpg"
fCopyFile
(
"sapo.jpg"
,
"C:\Temp\sapo.jpg"
)
WChemin
is string
=
"HKEY_CURRENT_USER\Control Panel\Desktop"
IF
RegistrySetValue
(
WChemin
,
"Wallpaper"
,
WRegFondEcran
) =
False
Error
(
"Não foi possivel alterar o papel de parede"
)
b
Alterado
=
False
ELSE
b
Alterado
=
True
uAction
is int
uParam
is int
lpvParam
is string ASCIIZ on
255
uAction
=
20
uParam
=
0
lpvParam
=
WRegFondEcran
CallDLL32
(
"user32"
,
"SystemParametersInfoA"
,
uAction
,
uParam
,
&
lpvParam
,
0
)
END
RESULT
b
Alterado
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Message modified, November, 13 2018 - 1:57 AM
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
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