Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I implement this in VFP ?
Message
From
12/11/2003 17:08:59
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00849219
Message ID:
00849313
Views:
16
Thanks, I was thinking that was text. I was doing "#DEFINE navOpenInNewWindow '0x1'" and couldn't understand why it wasn't working.

>>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 again:
#Define navOpenInNewWindow     0x1
>#Define navNoHistory           0x2
>#Define navNoReadFromCache     0x4
>#Define navNoWriteToCache      0x8
>#Define navAllowAutosearch     0x10
>#Define navBrowserBar          0x20
>#Define navHyperlink           0x40
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform