Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters > C/C++

Reply
 
Thread Tools

Help
Old 02.05.2006, 12:19   #1
Терпи козак...
 
Spectrum's Avatar
 
Join Date: 09 2005
Location: yerevan
Age: 37
Posts: 102
Rep Power: 0
Default Help

Preved vsem.
Pdskajite kak mojno sdelat' dropdown-box ispolzuja tolko (esli est' raznica to jelatelno ANSI C)C i Win Api.

AGROMNI SPASIB ZARANIE
__________________
Наш девиз непобедим, возбудим и не дадим...(с) CJ

Re: Help
Old 02.05.2006, 12:50   #2
Easy rider
 
Silver's Avatar
 
Join Date: 11 2005
Location: tristeza
Age: 40
Posts: 1,082
Rep Power: 0
Default Re: Help

Just provide COMBOBOX to CreateWindow() as the class name instead of your own precreated class, unlike you usually do when creating an overlapped window.

Quote:
When Windows starts, it creates the system global classes for all applications. These classes contain the following familiar standard controls:
  • Edit
  • Listbox
  • ComboBox
  • ScrollBar
  • Button
  • Static
Example:
Code:
HWND CreateWindow( "COMBOBOX",
                   "Default String",
                   style,
                   x,
                   y,
                   width,
                   height,
                   parent,
                   menu,
                   instance,
                   Optional Parameter
);
Here they seem to go deeper with explaining.
Here you can also find info on possible combobox styles.
Sorry for the quality of the material on the links, I have just googled them up and didn't look through them too thoroughly.
Cheers.
__________________
http://sssilver.googlepages.com/blog...ner_300x30.jpg

http://www.hra.am/img/Gulyan1.gif

You must spread before giving to Silver again.

Re: Help
Old 02.05.2006, 22:20   #3
Терпи козак...
 
Spectrum's Avatar
 
Join Date: 09 2005
Location: yerevan
Age: 37
Posts: 102
Rep Power: 0
Default Re: Help

Thanks a lot(especially for the documentation links).
P.S.
It's alive!!!
__________________
Наш девиз непобедим, возбудим и не дадим...(с) CJ
Reply




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 23:59.
Top

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.