[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Stoping a window from scrolling down

null
0
kenne003
Asked:
kenne003
  • 4
  • 4
1 Solution
 
staggartCommented:
I don't understand your question.  Ignoring the part about drag
and drop for now, you are writing your own app in C right?  And,
you are using fopen() to open a file?  And, you are then reading this file into an internal text buffer you control and then
subsequently displaying it in your application's window?
0
 
kenne003Author Commented:
Edited text of question
0
 
staggartCommented:
I have no clue what you are talking about here.  If you are not pulling my leg, either re-post your question from a completely different perspective or post sample code that fails.  'fopen()' has nothing to do with scrolling text windows, so, I fail to see the connection between your question and problem,
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
kenne003Author Commented:
Edited text of question
0
 
staggartCommented:
Sorry, there must be some massive mis-communication here.  I go back to my original comment.  I asked you three questions, of which you answered the first two: you are using C, you are calling fopen().  What about my third question?  Furthermore, after you open a file with fopen(), you now have a FILE *.  Your program must be doing something to read the text of the file into a buffer(s) of your application, which your program then displays using TextEdit calls or QuickDraw calls?  Please be specific as to what calls you are making to read and actually display the text of the file.  Excuse me for being condescending, but fopen() does NOT display text to a screen or cause scrolling of displayed text.  So, your problem is not with fopen() in particular.
0
 
kenne003Author Commented:
Edited text of question
0
 
kenne003Author Commented:
Edited text of question
0
 
staggartCommented:
Give it up.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now