How to combine BrowserNavConstants in c++?
I am trying to use BrowserNavConstants for .Navigate2 flags, but I dont know how to combine more than one in the same variant for c++. On VB i would use
navNoH开发者_StackOverflowistory + navNoReadFromCache + navNoWriteToCache
or
Flags := NavNoHistory or NavNoReadFromCache or NavNoWriteToCache or NavAllowAutosearch;
for delphi, but how should I do it on c++?
Normally you'd combine flags with the bitwise OR operator ('|') for C++; does this not work here?
Eg:
Flag = Value1 | Value2 | Value3;
精彩评论