Hi Przemek I am trying something lile:
pGT1 := hb_gtCreate( 'WVG' ) pGT := hb_gtSelect( pGT1 ) hb_gtInfo( HB_GTI_PRESPARAMS, { WS_EX_DLGMODALFRAME, NIL, 10, 10, 150, 100, pGT, .F. } ) In hb_gt_wvt_Info() case HB_GTI_PRESPARAMS: PHB_ITEM pSome; pSome = hb_arrayGetPtr( pInfo->pNewVal, HB_GTI_PP_PARENT ); if( hb_itemType( pSome ) & HB_IT_POINTER ) { pWVT->pPP->pParentGT = hb_gt_ItemBase( pSome ); } Then in hb_gt_wvt_CreateWindow( pWVT ) PHB_GTWVT pWVTp = HB_GTWVT_GET( pWVT->pPP->pParentGT ) I get nothing. Where I am wrong? Regards Pritpal Bedi Everything compiles fine but -- View this message in context: http://www.nabble.com/How-to-retrieve---%3CpGT%3E-from-PRG-to-C-tp20229416p20277987.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour