Click here to Skip to main content
16,004,969 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralColoring a dialog box within a region Pin
DanYELL13-Jul-02 6:02
DanYELL13-Jul-02 6:02 
GeneralRe: Coloring a dialog box within a region Pin
Michael Dunn13-Jul-02 7:05
sitebuilderMichael Dunn13-Jul-02 7:05 
GeneralRe: Coloring a dialog box within a region Pin
DanYELL13-Jul-02 12:41
DanYELL13-Jul-02 12:41 
GeneralRe: Coloring a dialog box within a region Pin
Michael Dunn13-Jul-02 13:22
sitebuilderMichael Dunn13-Jul-02 13:22 
Generalmenu driven gui Pin
helping hand13-Jul-02 3:27
helping hand13-Jul-02 3:27 
GeneralRe: menu driven gui Pin
Christian Graus13-Jul-02 3:45
protectorChristian Graus13-Jul-02 3:45 
GeneralRe: menu driven gui Pin
Brian Delahunty13-Jul-02 4:18
Brian Delahunty13-Jul-02 4:18 
Questiona design question - menu? dlg? or hidden listctrl? Pin
ns13-Jul-02 3:05
ns13-Jul-02 3:05 
Which of these three designs would you choose? #2 is a piece of cake. #1 and #3 I am exploring and have the following questions:


1.I've a bunch of options that I will append dynamically as submenus to a top level menu item. Thats doable. Then I want to keep track of which options were selected (setcheck), so that from my long list I now have a subset. Whats the smart way of going about this? I cant very well write handlers or sendmessage on the fly for every item selected in order to add its value to my subset . Like under Color, I have red, green , blue etc. The user selects say five colors. What I want from all this is merely a list of the options that were selected. These menu items dont do anything, except somehow magically add their values to the growing list. Is this reallly simple and I just cant see it?


2.Or should I spawn a modal dialog with a listcontrol with checkboxes instead.(No problem here!)

3.Actually a cool idea suggested was when Color is pressed, a hidden listcontrol shows up (obscuring stuff under it) with the possible options. When you click off it, it vanishes. This listcontrol actually exists on the CFormView but doesnt get shown until the Color button is pressed, and then its supposed to cover up a bunch of other controls also on the CFormView. I have yet to explore this avenue - I can set the listctrl invisible from the properties window easily enough. SO I just have to do something to show it when Color is pressed. MAybe theres a .visible(TRUE) type thing. Anyhoo then I have to utilise a lostfocus type event I suppose, to make it vanish.
Thank you if you've read this long post, and I'd appreciate any feedback,
ns
Generalfrom "modeless dlg" article by nishant Pin
ns13-Jul-02 2:04
ns13-Jul-02 2:04 
GeneralRe: from "modeless dlg" article by nishant Pin
Joaquín M López Muñoz13-Jul-02 2:43
Joaquín M López Muñoz13-Jul-02 2:43 
GeneralRe: from "modeless dlg" article by nishant Pin
Ernest Laurentin13-Jul-02 7:46
Ernest Laurentin13-Jul-02 7:46 
GeneralRe: from "modeless dlg" article by nishant Pin
Christian Graus13-Jul-02 12:53
protectorChristian Graus13-Jul-02 12:53 
Generalwhich class to do registry setting saving/querying in? MDI Pin
ns13-Jul-02 1:28
ns13-Jul-02 1:28 
GeneralRe: which class to do registry setting saving/querying in? MDI Pin
Nish Nishant13-Jul-02 1:55
sitebuilderNish Nishant13-Jul-02 1:55 
GeneralThank you! Pin
ns13-Jul-02 2:07
ns13-Jul-02 2:07 
GeneralCFileDialog spawned from doc class Pin
ns13-Jul-02 0:49
ns13-Jul-02 0:49 
GeneralRe: CFileDialog spawned from doc class Pin
Nish Nishant13-Jul-02 0:53
sitebuilderNish Nishant13-Jul-02 0:53 
GeneralRe: CFileDialog spawned from doc class Pin
Michael Dunn13-Jul-02 7:09
sitebuilderMichael Dunn13-Jul-02 7:09 
QuestionMenu "Exit" - which class in MDI should handle this COMMAND handler? Pin
ns13-Jul-02 0:31
ns13-Jul-02 0:31 
AnswerRe: Menu "Exit" - which class in MDI should handle this COMMAND handler? Pin
Nish Nishant13-Jul-02 0:38
sitebuilderNish Nishant13-Jul-02 0:38 
GeneralRe: Menu "Exit" - which class in MDI should handle this COMMAND handler? Pin
ns13-Jul-02 0:39
ns13-Jul-02 0:39 
Generalforgot something... Pin
ns13-Jul-02 0:40
ns13-Jul-02 0:40 
GeneralRe: forgot something... Pin
Nish Nishant13-Jul-02 0:51
sitebuilderNish Nishant13-Jul-02 0:51 
GeneralRe: forgot something... Pin
Brian Delahunty13-Jul-02 4:20
Brian Delahunty13-Jul-02 4:20 
AnswerRe: Menu "Exit" - which class in MDI should handle this COMMAND handler? Pin
Ancient Dragon13-Jul-02 0:46
Ancient Dragon13-Jul-02 0:46 

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.