In WINUSER.H, it defines WS_OVERLAPPEDWINDOW like this:
#define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED     | \
                             WS_CAPTION        | \
                             WS_SYSMENU        | \
                             WS_THICKFRAME     | \
                             WS_MINIMIZEBOX    | \
                             WS_MAXIMIZEBOX)
What I don't understand is, rather than operator |, what does | \ do?
\ as the LAST character of a line means "this line is not finished". It disappears from the preprocessed output.
Those lines are equivalent to:
#define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | ...
just a bit more readable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With