PRB: SETTEXTPOSITION() Does Not Scroll Window to New LocationLast reviewed: April 9, 1996Article ID: Q149508 |
The information in this article applies to:
SYMPTOMSUsing the SETTEXTPOSITION() graphics subroutine to move the cursor to a new location outside the current client view area in a QuickWin program does not cause the client view area to move to this new location, so it is not made visible.
STATUSThis behavior is by design.
MORE INFORMATIONIn the following sample code, the call to the SETTEXTPOSITION() subroutine moves the cursor to a location outside of the current client view, but the window is not scrolled to the new location. Consequently the cursor is not visible, and the user cannot see the text specified in the call to OUTTEXT.
Sample CodeC Compile options needed: /MW
include 'flib.fi' include 'fgraph.fi' implicit none include 'flib.fd' include 'fgraph.fd' integer*2 i record /rccoord/ rc print *,"Please size the child window so that the last line" print *," is not visible, then press a key..." i=incharqq() call settextposition(30,1,rc) call outtext('Enter an integer*2 value : ') read (*,*) i end |
Additional reference words: 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |