makaveliuk
Programmer
Right, it's been so long since I used C++ I have completely forgotten how to do this (I know its easy).
I have created a Window using CreateWindowEx with a defined style and a set of checkboxes to enable/disable style flags.
How do I write an if statement to say:
If the current windowstyle contains WS_POPUP and the checkbox for popup is checked do nothing, or if the checkbox is checked and WS_POPUP is not specified add it, or if WS_POPUP is specified and the checkbox is not blank remove it?
Hope that makes sense (Been using BASIC for too long now!)
I have created a Window using CreateWindowEx with a defined style and a set of checkboxes to enable/disable style flags.
How do I write an if statement to say:
If the current windowstyle contains WS_POPUP and the checkbox for popup is checked do nothing, or if the checkbox is checked and WS_POPUP is not specified add it, or if WS_POPUP is specified and the checkbox is not blank remove it?
Hope that makes sense (Been using BASIC for too long now!)