Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralConnecting to MySQL using VC++ Pin
mzc_noelle30-Jul-03 14:49
mzc_noelle30-Jul-03 14:49 
GeneralRe: Connecting to MySQL using VC++ Pin
John M. Drescher30-Jul-03 15:41
John M. Drescher30-Jul-03 15:41 
GeneralRe: Connecting to MySQL using VC++ Pin
mzc_noelle30-Jul-03 15:53
mzc_noelle30-Jul-03 15:53 
GeneralRe: Connecting to MySQL using VC++ Pin
PJ Arends30-Jul-03 19:59
professionalPJ Arends30-Jul-03 19:59 
QuestionHow to change Combobox style at runtime? Pin
Andrew Allen30-Jul-03 14:46
Andrew Allen30-Jul-03 14:46 
AnswerRe: How to change Combobox style at runtime? Pin
Eugene Pustovoyt30-Jul-03 18:22
Eugene Pustovoyt30-Jul-03 18:22 
GeneralRe: How to change Combobox style at runtime? Pin
Andrew Allen31-Jul-03 2:11
Andrew Allen31-Jul-03 2:11 
GeneralRe: How to change Combobox style at runtime? Pin
armentage1-Aug-03 4:25
armentage1-Aug-03 4:25 
Andrew Allen wrote:
I just tried your suggestion, but it doesn't work.

My combobox is derived from CComboBox, I have a member function to do the switch

void CMyComboBox::MakeStatic()
{
VERIFY(ModifyStyle(CBS_DROPDOWN, CBS_DROPDOWNLIST));
}



I've had this problem myself. What I did was create TWO combobox controls, one a dropdown and the other a dropdown list, and placed them right on top of each other. I used some other control to determine the state I wanted the "combo" in, and showed/hid the appropriate one.

Actually, I had this problem with CListBox. You can't change its selection style at runtime, either.
GeneralRe: How to change Combobox style at runtime? Pin
Andrew Allen1-Aug-03 5:19
Andrew Allen1-Aug-03 5:19 
GeneralIterate files in folder/sub folders Pin
alex.barylski30-Jul-03 14:02
alex.barylski30-Jul-03 14:02 
GeneralRe: Iterate files in folder/sub folders Pin
Andrew Walker30-Jul-03 14:24
Andrew Walker30-Jul-03 14:24 
GeneralRe: Iterate files in folder/sub folders Pin
alex.barylski30-Jul-03 15:10
alex.barylski30-Jul-03 15:10 
GeneralRe: Iterate files in folder/sub folders Pin
Andrew Walker30-Jul-03 15:46
Andrew Walker30-Jul-03 15:46 
GeneralRe: Iterate files in folder/sub folders Pin
alex.barylski30-Jul-03 21:48
alex.barylski30-Jul-03 21:48 
GeneralProblem creating C++ MFC Application using Visual C++ .NET Pin
ElizabethC30-Jul-03 12:37
ElizabethC30-Jul-03 12:37 
QuestionCatching file system updates? Pin
kaladorn30-Jul-03 12:03
kaladorn30-Jul-03 12:03 
AnswerRe: Catching file system updates? Pin
Ted Ferenc30-Jul-03 12:35
Ted Ferenc30-Jul-03 12:35 
GeneralRe: Catching file system updates? Pin
kaladorn30-Jul-03 13:51
kaladorn30-Jul-03 13:51 
GeneralRe: Catching file system updates? Pin
Ted Ferenc30-Jul-03 21:32
Ted Ferenc30-Jul-03 21:32 
AnswerRe: Catching file system updates? Pin
Beer2630-Jul-03 12:37
Beer2630-Jul-03 12:37 
GeneralRe: Catching file system updates? Pin
kaladorn30-Jul-03 13:46
kaladorn30-Jul-03 13:46 
GeneralRe: Catching file system updates? Pin
Beer2630-Jul-03 14:11
Beer2630-Jul-03 14:11 
GeneralRe: Catching file system updates? Pin
kaladorn30-Jul-03 14:15
kaladorn30-Jul-03 14:15 
GeneralRe: Catching file system updates? Pin
Beer2630-Jul-03 14:16
Beer2630-Jul-03 14:16 
GeneralRe: Catching file system updates? Pin
Beer2630-Jul-03 14:18
Beer2630-Jul-03 14:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.