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 7600249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:51:57+00:00 2026-05-30T22:51:57+00:00

I am using a ListView in C# and am customizing it and need to

  • 0

I am using a ListView in C# and am customizing it and need to make calls using interop to SendMessage() to add a sort indicator. I have found various articles, but in my case the left and right alignments are getting messed up.

I see references to LVCFMT_LEFT, LVCFMT_RIGHT and LVCFMT_CENTER in sample C++ code.

What are the values these constants? I have not been able to find these.

  • 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-30T22:51:59+00:00Added an answer on May 30, 2026 at 10:51 pm

    They appear to be

    #define LVCFMT_LEFT                 0x0000 // Same as HDF_LEFT
    #define LVCFMT_RIGHT                0x0001 // Same as HDF_RIGHT
    #define LVCFMT_CENTER               0x0002 // Same as HDF_CENTER
    

    These are discoverable in CommCtrl.h which should be on your machine somewhere. The first one I found on my machine is in Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\

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

Sidebar

Related Questions

What are the advantages of using listview over gridview? I need pagination, editing rows,
I'm using a ListView in C# to make a grid. I would like to
I am using expandable listview i need to refresh as i am searching the
I'm new to android. I have worked in searchbar using Listview and it's working
I have an app using ListView not unlike Explorer does, but when I set
I have problem when i using ListView and Linq as datasource. The error down:
I have ObservableCollection for my Collection og Movie files. Im using ListView to display
I have to show some LinearLayouts in Scroll. I am using ListView but got
I need to validate the email address that are semicolon separated using ListView. e.g.
I have a ListView with a header, set using ListView.addHeader(...) It appears to work

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.