Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: How to change Combobox style at runtime? Pin
Andrew Allen1-Aug-03 5:19
Andrew Allen1-Aug-03 5:19 
Yep, I'm convinced ModifyStyle() doesn't work after the control has been created. I just found this article talking about Listboxes,
http://www.codeproject.com/combobox/listbox_tut.asp[^]
...
Changing List box Styles at Runtime
It is not possible to change these styles at runtime even though ModifyStyle() may give the impression it does. If you want turn the Sort style on and off for example it is best to construct the List box by calling new and Create then deleting it and creating a new one when the style is to be changed. Alternatively you can have 2 List box superimposed and hide the one with the incorrect style.


I already thought about overlapping two controls, but I have about 10 in my dialog and at the time it seemed messy in the dialog template. Looks like that's what I'll do.

thanks for your help!
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 
GeneralAdjustTokenPrivileges Pin
Anonymous30-Jul-03 11:31
Anonymous30-Jul-03 11:31 

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.