I want to use DWORD variable to contain several flags instead of having several seperate bool variables. Can someone tell me what the hex values are to use for each bit in the DWORD variable?

Perhaps a short example?

Cheers