473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

urgent ! WIN API'S

HOW to create a Drop down list box in c++ using win api's
Jul 22 '05 #1
4 1970
"prashantjain" <pr***********@yahoo.com> wrote in message
news:22**************************@posting.google.c om...
HOW to create a Drop down list box in c++ using win api's


Answers available at newsgroup:
comp.os.ms-windows.programmer.win32

Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt

-Mike

Jul 22 '05 #2
Post this to:

microsoft.public.vc.mfc

Sandeep
--
http://www.EventHelix.com/EventStudio
EventStudio 2.0 - System Architecture Design CASE Tool
Jul 22 '05 #3
prashantjain wrote:
HOW to create a Drop down list box in c++ using win api's


I would be more interested in knowing how it is done in the loose api's.

NR

Jul 22 '05 #4
In article <22**************************@posting.google.com >, pr***********@yahoo.com (prashantjain) wrote:
HOW to create a Drop down list box in c++ using win api's


You can search on Microsoft's site for information like the following (one
long URL follows):

http://msdn.microsoft.
com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowref
erence/windowfunctions/createwindow.asp

For comboboxes in particular, look at the remarks section on the page
previously mentioned, and it'll lead you to links like the following:

http://msdn.
microsoft.com/library/en-us/shellcc/platform/commctls/comboboxes/comboboxes.
asp

http://msdn.microsoft.
com/library/en-us/shellcc/platform/commctls/comboboxes/usingcomboboxes.asp

where you'll see example code like the following:

hwndCombo1 = CreateWindow("COMBOBOX", "",
CBS_DROPDOWN | WS_CHILD | WS_VISIBLE,
(6 * LOWORD(dwBaseUnits)) / 4,
(2 * HIWORD(dwBaseUnits)) / 8,
(100 * LOWORD(dwBaseUnits)) / 4,
(50 * HIWORD(dwBaseUnits)) / 8,
hwnd, NULL, hinst, NULL);
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stijn Lambert | last post by:
Hi all ... Does anyone know if it is possible to register a COM-DLL through code using statements of the .NET framework (VB.NET or C#) without using the command-line or shell or anything? ...
1
by: Kathy | last post by:
Hi All I have a problem - I have an visual basic application that I am currently converting to .Net - I have a very necessary function that disconnects users from files on a specific network...
2
by: WantedToBeDBA | last post by:
Hi all, We have db2 installed on AIX box (db2 version - 8.1). Its started and i am able to view 50000(default port) in netstat(netstat -a -n). But when i try to connect using telnet, i am getting...
1
by: Nadav | last post by:
Hi, Introduction *************** I have a system build of a collection of 'Native COM objects' and '.NET COM interop' objects, all of the COM objects are managed through a 'Native COM' layer,...
3
by: ItsMe | last post by:
Hi Guyz, I'm developing some application using third party api. They have given me sample project which is in VB6.0. I'm a newbie in vb.net. and the classic vb works perfectly alright. My job is...
0
by: yom | last post by:
Hi all. I am having some troubles with an application that has to open a dialup up connection. I am using the Ras API RasDial to call the remote modem an all works properly. I am also able to...
0
by: Radhesh Reddy | last post by:
One of our clients is in need of following consultants Business analyst with I2 background Location: Overland park,KS Duration: 6 months+ startdate: ASAP Description and Skills We are...
12
by: abhishek.gilra | last post by:
Does anyone know how to add users to the log on locally list in User Rights Management inside Local Security settings. Thanks
0
by: thirumaran007 | last post by:
Hi all I need a Urgent Help How can i acces remote desktop programatically in c#.net(It will support on Windows XP). is there any API for that? Kindly give me needful answers...! Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.