Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obj2Bmp
Message
 
To
09/12/2005 11:12:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076603
Message ID:
01138991
Views:
32
>>>Hi All,
>>>
>>>I am trying to programatically create bitmap using George Tasker's
>>>obj2bmp tool.
>>>
>>>This is code based on sample provided in help file.
>>>
>>>
>>>set default to C:\obj2bmp
>>>  IF ! "FOXTOOLS" $ SET("LIBRARY")
>>>    SET LIBRARY TO SYS(2004) + "FOXTOOLS.FLL" ADDITIVE
>>>  ENDIF
>>>
>>>locaL oForm
>>>do form form1.scx name oForm
>>>
>>>lnHwnd = WhTohWnd(_WFindTitl(oForm.caption))
>>>
>>>**** Error comes here!
>>>*>>>'File WhTohWnd does not exist!
>>>
>>>set classlib to OBJ2BMP.VCX additive
>>>oMaker=createobject('bmpmaker')
>>>lcFile=oMaker.makebitmap(lnHwnd)
>>>
>>>release classlib OBJ2BMP.VCX
>>>
>>>
>>>
>>>
>>>What/where is 'WhTohWnd' ?
>>>
>>>Any other way to bypass this?
>>>Perhaps Handle can be taken using some other aproach ?
>>>
>>>Any help is greatly appreciated.
>>>
>>>Rgds++
>>>Sergio
>>
>>I think, it's a Form's window handle. You can get it directly with thisform.hWnd property.
>
>I'm sure also George would if that property existed:)

Cetin,

Yeah, I wrote that before the property existed.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform