Microsoft Developer Network > Forums Home > Feedback and Discussions Forums > MSDN, TechNet and Expression Library Feedback > EM_GETFIRSTVISIBLELINE message: Error in Windows 7 or undocumented change?
Ask a questionAsk a question
 

General DiscussionEM_GETFIRSTVISIBLELINE message: Error in Windows 7 or undocumented change?

  • Friday, August 28, 2009 6:36 PMAndrew Tishkin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    According to the documentation: 
    Return Value
    The return value is the zero-based index of the uppermost visible line in a multiline edit control. 
    Edit controls: For single-line edit controls, the return value is the zero-based index of the first visible character. 
    Rich edit controls: For single-line rich edit controls, the return value is zero.

    However, if this works fine in Windows XP, Windows 7 is always returned 0, no matter what character will be visible in single-line edit control text

    What is it? Bug in Windows 7 or undocumented change?

All Replies