Original Post
Ok ill give an example to start with:
MessageBox(NULL,"This is weird","Hello",
MB_OK | MB_ICONINFORMATION);
Why is only one | used? I''ve been taught in my book that to use the OR statement you would do it like this:
if (choice1 || choice2)
But in windows its all different, its always used once:
only 1 | and only one &.
Please, any advice would UNCONFUSE me!
Oh yeah, also why do you have to use the | to add multiple flags in windows? Wouldn''t you use & to say ''MB_OK AND MB_ICONINFORMATION, not ''MB_OK OR MB_ICONINFORMATION??