Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I implement this in VFP ?
Message
De
12/11/2003 17:08:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00849219
Message ID:
00849313
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform