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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:37:18+00:00 2026-05-15T08:37:18+00:00

I wanted to create a custom combo box like this (as in MS Word),

  • 0

I wanted to create a custom combo box like this (as in MS Word),

alt text

Are there any Win32 API calls (I can’t use MFC) to get this job done, (like ChooseColor() or ChooseFont()? If there aren’t any, can anyone please tell me how to do this? Thanks you.

Regards,

EDIT:
Creating the Owner-Drawn Dialog Box!! Is this the only way ?
http://msdn.microsoft.com/en-us/library/bb775794%28VS.85%29.aspx#creating_square_meal

  • 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-15T08:37:19+00:00Added an answer on May 15, 2026 at 8:37 am

    You have some options to solve your problem:

    1. All common controls supports WM_SETFONT, so if you find a Font which has all line elements which you need, you can change font of the combobox control and fill items with corresponding textes.
    2. There are ComboBoxEx control which combines images with textes (see http://msdn.microsoft.com/en-us/library/bb775738(VS.85).aspx). Be careful, what part of items will be selected (just try it). If you can a little change your requirements to the combobox control you will be able to use this.
    3. You can use owner-draw combo-box. Then you are absolutely free, but your code can be a liitle longer and you should be more carful if you works with non-standard color shema of windows or a non-default theams. I’ll recommend you use functions GetSysColor in this case.

    You should deceide youself whay way is the best for your project requirements.

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

Sidebar

Related Questions

I wanted to create Custom Dialog like the following image which can be called
I wanted to create my own Python exception class, like this: class MyException(BaseException): def
I've always wanted to create custom components in Java, or customize existing ones, but
I'm looking to create a custom checkbox. I would like to display an active/inactive
I am trying to figure out how to use/create a custom control in ASP.NET
I am attempting a GPS application and i wanted to use Google maps API
Wanted to create a fun app with photo. This is the scenario: I have
I have decided that I wanted to create some custom dialog classes that could
Let's say I woke up today and wanted to create a clone of StackOverflow.com,
I have a problem with AutoCompleteBox. I wanted to use it as editable combobox.

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.