Marek

<<<<<<<<<<
Perfect explanation :), however how about using a "paralell API" ?

Instead of
        SetMode( nRows, nCols )
one could use
        winSetMode( pWIN, nRows, nCols )
(or something like that)

Do you see any problem with it ?
>>>>>>>>>>

No problems if I intend to and have required resources to change 500,000+
lines of code. Leave SetMode() example as it is only used at once or can be
omitted altogether. Let us take example of :

@ 12,10 SAY 'Hello World' COLOR 'W+/B'

How we will force this to paint in a particular window? There are the
possibilities.
1) @ 12,10 SAY 'Hello World' COLOR 'W+/B' WINDOW pWin
2) hb_WSelect( pWin ); @ 12,10 SAY 'Hello World' COLOR 'W+/B' 
3) @ 12,10 SAY 'Hello World' COLOR 'W+/B' ; // GT detects which window has
the display focus and substitutes pWin parameter.

OR you wish to tie a Tbrowse to a pWin. In such case all GT commands in
TBrowse, e.g., DispOut(), DevPos(), etc are passed the pWin/pGT parameter
along ensuring that Tbrowse is displayed ever in correct window.

Let us continue the discussion.

Regards
Pritpal Bedi, INDIA-USA

-- 
View this message in context: 
http://www.nabble.com/2007-12-07-11%3A39-UTC%2B0100-Przemyslaw-Czerpak-%28druzus-at-priv.onet.pl%29-tf4961411.html#a14227444
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to