2008-10-25 14:49 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/rtl/gtwvt/gtwvt.h + Added <ResizeMode> member to HB_GTWVT
* harbour/include/hbgtinfo.ch + Added HB_GTI_RESIZEMODE + Added HB_GTI_RESIZEMODE_FONT + Added HB_GTI_RESIZEMODE_ROWS * harbour/include/inkey.ch + Added K_HB_RESIZE 1101 * harbour/rtl/gtwvt/gtwvt.c ! Updated to accomodate HB_GTI_RESIZEMODE. * harbour/rtl/hbgtcore.c ! static BOOL hb_gt_def_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) { case HB_GTI_RESIZEMODE: pInfo->pResult = hb_itemPutNInt( pInfo->pResult, HB_GTI_RESIZEMODE_FONT ); break; * harbour/tests/wvtext.prg ! Updated to demonstrate K_HB_RESIZE event in navigation loop. ; Odd numbered windows will have HB_GTI_RESIZEMODE_ROWS mode Even numbered windows will have HB_GTI_RESIZEMODE_FONT mode. Open two or more browsers to see the effects. ; To activate HB_GTI_RESIZEMODE_ROWS mode call hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS ) and whenever window will be resized you can retrieve it via if inkey() == K_HB_RESIZE // Reconfigure browser/your screen accordingly endif Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/2008-10-25-14%3A49-UTC-0800-Pritpal-Bedi-%28pritpal%40vouchcac.com%29-tp20168426p20168426.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