开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜