Doubt regarding the combo box
-
How can i make the combo box to drop down automatically?
-
How can i make the combo box to drop down automatically?
m_combobox.SendMessage(CB_SHOWDROPDOWN ,(WPARAM)true,0); Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_
-
How can i make the combo box to drop down automatically?
Just follow the method below u will get ur rsult. Right click on the combo box; Select ‘Properties’ from the list displayed. This will open the ‘Properties’ window; Click on ‘Event’ tab and place your cursor next to the ‘On Got Focus’ event; Then, click on the ‘…’ button; Select ‘Code Builder’ from the code builder window and click on OK. The following Subprocedure will be created: Private Sub Combo2_GotFocus() End Sub You can also call the function on Event of Mouse Move. OK
-
How can i make the combo box to drop down automatically?
alternatively you can also use
m_combobox.ShowDropDown();
Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn_ -
alternatively you can also use
m_combobox.ShowDropDown();
Somethings seem HARD to do, until we know how to do them. ;-) _AnShUmAn__AnShUmAn_ wrote:
alternatively you can also use m_combobox.ShowDropDown();
// Show the dropdown list box if it is not already dropped.
if (!pmyComboBox->GetDroppedState())
pmyComboBox->ShowDropDown(TRUE);Knock out 't' from can't, You can if you think you can :cool:
-
How can i make the combo box to drop down automatically?
Use the
CBS_SIMPLE
style.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb