Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1001235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:38:16+00:00 2026-05-16T07:38:16+00:00

Description I’m trying to test application coded in Delphi (VCL components by DevEx) with

  • 0

Description

I’m trying to test application coded in Delphi (VCL components by DevEx) with TestComplete. Application is built without debug info.

I need to scroll TcxTreeList component. The problem is when I set Position property for this component’s scrollbars content is not scrolled but scroll bar position changes. I tried a lot of approaches and suppose that WinAPI can help me.

The Question:

How to scroll the scrollbar in external application via WinAPI?

I found PostMessage function, but I do not know how to synthesize WM_SCROLL message…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:38:16+00:00Added an answer on May 16, 2026 at 7:38 am

    Scroll one line down (you can see other constants at the page JustBoo mentions);

    PostMessage(HWnd, WM_VSCROLL, SB_LINEDOWN, 0)
    

    Scroll to a specific position;

    PostMessage(HWnd, WM_VSCROLL, MakeWParam(SB_THUMBPOSITION, 30), 0)
    

    But if you refer to this page on the Devex forums, it is mentioned that
    "ScrollBar in the cxTreeList it is another control, not standard windows scrollbar".
    So it might not work. In this case you might want to try ScrollWindowEx coupled with setting the position as you already do.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SHORT DESCRIPTION OF PROBLEM: I want to set the text of a searchbar without
Description: The application attempted to perform an operation not allowed by the security policy.
Description I'm trying to JOIN a table using the result of a stored function.
Description My application record sound from phone microphone. I am using android standard classes
Description: I am analysing my application to improve the overall performance, and among the
Description of what I am trying to do I have a situation where I
Initial description: My application handles some events and do some task related to that
Description: I am working on an application which includes displaying of images present on
Description: On a C# ASP.Net web application, we have implemented some timers to periodically
problem description I've got a Delphi component. To set a value, you can click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.