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

Click here to load this message in the networking platform