Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obj2Bmp
Message
 
 
À
09/12/2005 10:31:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01076603
Message ID:
01076618
Vues:
33
>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform