Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I implement this in VFP ?
Message
From
12/11/2003 15:37:06
 
 
To
12/11/2003 14:36:57
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00849219
Message ID:
00849256
Views:
19
>I'm using VFP 7.0
>
>I found this on the MS web-site for the WebBrowser and/or Internet Explorer
>
>typedef enum BrowserNavConstants {
>    navOpenInNewWindow = 0x1,
>    navNoHistory = 0x2,
>    navNoReadFromCache = 0x4,
>    navNoWriteToCache = 0x8,
>    navAllowAutosearch = 0x10,
>    navBrowserBar = 0x20,
>    navHyperlink = 0x40
>} BrowserNavConstants;
>
>How do I #DEFINE these constants?
>
>I had no trouble with these:
>
>typedef enum tagREADYSTATE {
>    READYSTATE_UNINITIALIZED = 0,
>    READYSTATE_LOADING = 1,
>    READYSTATE_LOADED = 2,
>    READYSTATE_INTERACTIVE = 3,
>    READYSTATE_COMPLETE = 4
>} READYSTATE;
>
>I just did this:
>#DEFINE READYSTATE_UNINITIALIZED  0
>#DEFINE READYSTATE_COMPLETE       4
>
Same thing :) - it's just hex codes 0x1=1, 0x40=64
#DEFINE navOpenInNewWindow 0x1 && 1
etc.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform