gtwvw is product based on gtwvt 90% of command are wvt command with first a parameter as windows number like: /*-------------------------------------------------------------------*/ /* Wvw_DrawBoxGet( [nWinNum], nRow, nCol, nWidth ) */ /* */
but particularly Have also support multiwindows for relative and absolute coordinate @ 5,5 box 7,40 @ 6,6 SAY "Number" get number read will be converted wvw_setmaincoord(.t.) WINDO=WVW_nOpenWindow("", 5, 5, 7, 40) @ 5,5 box 7,40 @ 6,6 SAY "Number" get number read WVW_lCloseWindow(WINDO) I can made a lot of test because i have a lot of program and test in gtwvw *WVW_nOpenWindow(cWinName, row1, col1, row2, col2, ; * nStyle, nParentWin) *rowx and colx are relative to MAIN WINDOW (not current window!) *rowx and colx are used for: *(1) positioning window to its initial position, *(2) determining the size of the window (new maxrow() and maxcol()) *(3) saved into RowOfs and ColOfs for MainCoord mode * *nStyle is window style (eg. WS_OVERLAPPEDWINDOW, etc.) * default is: WS_CAPTION|WS_SYSMENU |WS_CLIPCHILDREN * WARNING: you must know what you're doing if you supplied this param * NOTES: if you will use controls such as PUSHBUTTON, * you MUST include WS_CLIPCHILDREN. * *nParentWin is parent window of the new on we're about to open. * default is: current window (in Standard Mode) * last window (in MainCoord Mode) * If you want the new window to not have parent, * pass -1 as nParentWin. * * *returns window number if successful *returns 0 if failed */ 2009/2/11 Przemyslaw Czerpak <dru...@acn.waw.pl>: > On Wed, 11 Feb 2009, Szak�ts Viktor wrote: >> It looks rather a rewrite than a simple port. >> What does gtwvw do? > > It allows to create more then one console window (this is already supported > in Harbour core GTs) and gives support for using windows widgets with this > windows. > As final result you can quite easy convert pure console application to > semi GUI mode keeping the internal application code unchanged. > It's probably the easiest conversion way for people who does not want > to change application user interface to GUI driven but want to make it > "GUI like". It also allows to systematically replace CUI elements and > introduce real GUI ones - migration to full GUI mode and event driven > interface in small steps. > > best regards, > Przemek > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > -- Massimo Belgrano Albo Nazionale Informatici Professionisti 2620 Socio 2843 Associazione Informatici prof. Analisi e sviluppo software per Lan e Web Consulenza informatica - Formazione Delta Informatica S.r.l. http://www.deltain.it Via Torelli,31 - 28100 Novara - Tel: 0321/30281 _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour