I'm quite sure I have seen it very recently in one of these forums, but I cannot find it any more. One of the causes is, maybe, that it is impossible to search for words like "AND" (the operator), because this is an operator in the forums' search engine as well.
I need to know how to check the presence of a single value included in an "OR-ed" value. For example: when using GetDateFormat (Windows API), I need to do some editing in the returned date string. But this should absolutely not be done in case it is a short date. In other words: how should I "AND/OR" the dwFlags-setting passed through this function to be sure that a short date (%DATE_SHORTDATE) is not included?
I need to know how to check the presence of a single value included in an "OR-ed" value. For example: when using GetDateFormat (Windows API), I need to do some editing in the returned date string. But this should absolutely not be done in case it is a short date. In other words: how should I "AND/OR" the dwFlags-setting passed through this function to be sure that a short date (%DATE_SHORTDATE) is not included?
Comment