PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Como remover o minimizar, maximizar de uma janela de um projeto windev
Como remover o minimizar, maximizar de uma janela de um projeto windev
Started by Boller, Dec., 21 2021 6:45 PM - No answer
Connect yourself…
Boller
#1
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on December, 21 2021 - 6:45 PM
Solução
n
Style is int
=
API
(
"User32"
,
"GetWindowLongA"
,
n
Handle
, -
16
)
// GWL_STYLE
n
Style
=
BinaryAND
(
n
Style
,
BinaryNOT
(
65536
) )
// WS_MAXIMIZEBOX // Ponteiro do Maximize removido
b
Res is boolean
=
API
(
"User32"
,
"SetWindowLongA"
,
n
Handle
, -
16
,
n
Style
)
)
// seto novo estilo sem o maximize
IF
b
Res THEN
RESULT
API
(
"User32"
,
"SetWindowPos"
,
n
Handle
,
0
,
0
,
0
,
0
,
0
,
0x27
)
// desenha janela sem maximize
E
LSE
RESULT
False
E
ND
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
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