Click here to Skip to main content
16,005,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help with Pin
Dmitriy1-Jun-00 6:27
Dmitriy1-Jun-00 6:27 
GeneralRe: Please help with Pin
Tim Deveaux1-Jun-00 6:58
Tim Deveaux1-Jun-00 6:58 
GeneralThanks, that's it! Pin
Joep1-Jun-00 9:04
Joep1-Jun-00 9:04 
GeneralRe: Thanks, that's it! Pin
Dmitriy1-Jun-00 9:42
Dmitriy1-Jun-00 9:42 
GeneralRe: Thanks, that's it! Pin
Tim Deveaux1-Jun-00 14:21
Tim Deveaux1-Jun-00 14:21 
GeneralMulti/Single selection in a ListBox Pin
magesh31-May-00 19:50
magesh31-May-00 19:50 
GeneralRe: Multi/Single selection in a ListBox Pin
Dmitriy1-Jun-00 6:32
Dmitriy1-Jun-00 6:32 
GeneralRe: Multi/Single selection in a ListBox Pin
magesh2-Jun-00 4:32
magesh2-Jun-00 4:32 
I did not make myself sufficiently clear. I have a list box in a dialog. Depending on an argument to the constructor of the dialog, I want to make this list box either single selection or multi-selection. However, once the selection style is set, It will not change for till the dialog is dismissed. In the resource editor, I'll set selection type to be 'single selection'. Depending on the argument to the constructor, I want to modify the selection type to 'Multi-Selection'. Is there a simple way of doing this without recreating the ctrl or deriving a class from CListBox.

I tried ModifyStyle(0, LBS_MULTIPLESEL) in the OnInitDialog() of the dialog. This did not work. Hence this post.
GeneralRe: Multi/Single selection in a ListBox Pin
Dmitriy2-Jun-00 5:36
Dmitriy2-Jun-00 5:36 
GeneralTLB and RGS Pin
rajendra31-May-00 19:45
rajendra31-May-00 19:45 
GeneralRe: TLB and RGS Pin
Alex Gorev1-Jun-00 5:45
Alex Gorev1-Jun-00 5:45 
Generaltab order within a CControlBar or CDialogbar Pin
nickinchina31-May-00 9:53
nickinchina31-May-00 9:53 
QuestionScroll bars in an Explorer Bar? Pin
mahesh31-May-00 5:30
mahesh31-May-00 5:30 
AnswerRe: Scroll bars in an Explorer Bar? Pin
Erik Thompson31-May-00 7:46
sitebuilderErik Thompson31-May-00 7:46 
GeneralRe: Scroll bars in an Explorer Bar? Pin
mahesh31-May-00 7:58
mahesh31-May-00 7:58 
GeneralRe: Scroll bars in an Explorer Bar? Pin
mahesh31-May-00 8:00
mahesh31-May-00 8:00 
GeneralRe: Scroll bars in an Explorer Bar? Pin
mahesh1-Jun-00 4:22
mahesh1-Jun-00 4:22 
GeneralCFileDialog does not open Pin
Member 135631-May-00 2:42
Member 135631-May-00 2:42 
GeneralRe: CFileDialog does not open Pin
Brigg Thorp1-Jun-00 1:45
Brigg Thorp1-Jun-00 1:45 
GeneralRe: CFileDialog does not open Pin
Blake Miller4-Jun-00 15:08
Blake Miller4-Jun-00 15:08 
GeneralRe: CFileDialog does not open Pin
Member 13564-Jun-00 23:59
Member 13564-Jun-00 23:59 
GeneralRe: CFileDialog does not open Pin
Member 13565-Jun-00 0:13
Member 13565-Jun-00 0:13 
GeneralATL com Web Browser Component Pin
Aruna Reddy30-May-00 19:12
Aruna Reddy30-May-00 19:12 
GeneralFind Replace Problem MSWord 200 from C++ Pin
Neil Katalino30-May-00 17:12
Neil Katalino30-May-00 17:12 
GeneralFind Replace Problem MSWord 200 from C++ Pin
Neil Katalino30-May-00 17:09
Neil Katalino30-May-00 17:09 

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.