Register | Login
Forum Index > Source Help > General Question about removing flags in win32
Author Message
Pages: 1
Molotov
Member
(send private message)

Posts: 49
Topics: 21

Location:
Behind Keyboard
[812] General Question about removing flags in win32 - posted: 2011-11-23 20:40:25
How would i do something like this?

Code:
zAppStyle = (WS_OVERLAPPEDWINDOW or WS_SYSMENU) &~(WS_MINIMIZEBOX or WS_MAXIMIZEBOX or WS_THICKFRAME);


According to my sources &~ would mean the flags would be removed.

Thanks in Advance

"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[813] - posted: 2011-11-23 20:43:38
i don't quite understand the purpose, i think you will need to explain it in detail, is zAppStyle a const or variable?

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Molotov
Member
(send private message)

Posts: 49
Topics: 21

Location:
Behind Keyboard
[814] - posted: 2011-11-23 20:51:44
Thanks for help on msn.. smile

problem solved by

Code:
const zAppStyle = WS_CAPTION or WS_SYSMENU;


ws_caption doesn´t have minimize/maximize buttons by default. smile

"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b
Pages: 1
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 9 user(s) online. 0 member(s) and 9 guest(s)
Most users ever online was 1046, January 28, 2022, 2:08 pm.


Statistics:
Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51
Welcome to our newest member, yecate
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd