Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I convert this?
Message
 
To
13/03/2001 23:30:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00484713
Message ID:
00484737
Views:
18
>>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform