>>>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