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

  • SEARCH
  • Home
  • 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 6000123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:38:54+00:00 2026-05-23T00:38:54+00:00

I am trying to interact with custom listview class, the class along with its

  • 0

I am trying to interact with custom listview class, the class along with its instance is recognized by winapi but for sure it has problem interacting with it.

What i am trying to do is get item count then click on each(when required) but WinApi is unable to do anything about this.

int nMaxItems = ListView_GetItemCount(hWndLV);

I tried this but it fails, i even hooked on the thread of this listview, created fake window in the memory where listview is, sent that window a message which tells it to run a function which again does…

int nMaxItems = ListView_GetItemCount(hWndLV);

but even while doing this in the custom listview memory it produces nothing…

I am aware custom controls are not suitable for winapi but at least i was hoping to be able to get item count of it, then click… guess i was wrong

Like doing ocr wasnt enough of a problem that i already knew i will have to do.

So to recap i need to at least be able to get item count, loop, click on each…
If possible i would like to somehow get item text but i will be happy with just itemcount,clicking…

If you guys know some alternative/solution to achieve this?

  • 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-23T00:38:55+00:00Added an answer on May 23, 2026 at 12:38 am

    Since it’s a custom control, and not the standard Windows control, it is under no obligation to honor the same set of messages that the standard controls respond to. If it doesn’t recognize the same messages that the OS provides, then you’ll just have to find out what mechanism, if any, it does provide for external code to interact with it.

    Contact the vendor of that control and get the documentation. There’s no standard interface.

    If you ask a new question with more specifics, you might find that somebody already knows how to operate the control you’re trying to deal with.

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

Sidebar

Related Questions

I'm trying to interact with a native DLL using P/Invoke, but it requires an
I am trying to create a custom container but can't figure just how to
I'm trying to interact with a third party application but whenever I try and
I'm trying to interact with an application over the network which uses a simple
I am trying to interact with the windows command prompt from code. My goal
I am trying to develop a mobile application which can interact with a MOSS
I'm using OleDb to interact with an Access database, and I'm trying to find
Here's what I am trying to do: Build a custom control that essentially is
I am trying to interact with Sharepoint lists via Unity 3D and C#. Most
I'm trying to interact with a webcam from Java on Windows (without going through

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.