Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I convert this?
Message
 
À
13/03/2001 23:30:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00484713
Message ID:
00484737
Vues:
17
>>I'm trying to convert the following line of code over to VB but I can't figure out what to use for the 0x00080000. Anybody know?
>>
>>
SetWindowLong hWnd, -20, 0x00080000
>>
>>TIA
>
>How about 524288?

That's what I thought it should be but I'm getting an overflow error on the SetWindowLong call below.
Private Declare Function SetWindowLong Lib "Win32Api" (hWnd As Integer, _
    nIndex As Integer, dwNewLong As Long)

Private Sub Command1_Click()
    SetWindowLong hWnd, -20, 524288
end sub
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform