Armenian Knowledge Base  

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

Reply
 
LinkBack Thread Tools
Old 02.05.2006, 13:19   #1
Терпи козак...
 
Spectrum's Avatar
 
Join Date: 09 2005
Location: yerevan
Age: 29
Posts: 102
Downloads: 0
Uploads: 0
Reputation: 0 | 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
Reply With Quote
Old 02.05.2006, 13:50   #2
Easy rider
 
Silver's Avatar
 
Join Date: 11 2005
Location: tristeza
Age: 32
Posts: 1,082
Downloads: 0
Uploads: 0
Reputation: 0 | 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.
Reply With Quote
Old 02.05.2006, 23:20   #3
Терпи козак...
 
Spectrum's Avatar
 
Join Date: 09 2005
Location: yerevan
Age: 29
Posts: 102
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default Re: Help

Thanks a lot(especially for the documentation links).
P.S.
It's alive!!!
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 02:50.


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