MFC Dialog not showing the resource option strings in drop-list combo2019 Community Moderator Electionhow to set flex combobox cursor positionMFC Combo-Box Control is not showing the full list of items when I click the drop-down menuWhy can't I add a string to a combo box?Populating combo box in MFC dialog boxDropdown list size issues when filtering contentRemoving QAT resources from a MFC Dialog project?Why does autocomplete in my Winforms ComboBox change the cursor location when typing?Combo box in a MFC applicationWPF notified ComboBox selection box and drop-down list item not synchronizing and not refreshing promptlyCan a MFC dialog resource be attached to a CChildView?
Hot air balloons as primitive bombers
What kind of footwear is suitable for walking in micro gravity environment?
What (if any) is the reason to buy in small local stores?
Should I be concerned about student access to a test bank?
If I cast the Enlarge/Reduce spell on an arrow, what weapon could it count as?
How can a new country break out from a developed country without war?
Error in master's thesis, I do not know what to do
CLI: Get information Ubuntu releases
Gauss brackets with double vertical lines
Pre-Employment Background Check With Consent For Future Checks
Symbolism of 18 Journeyers
Why is there so much iron?
What is the reasoning behind standardization (dividing by standard deviation)?
What is the difference between something being completely legal and being completely decriminalized?
Would mining huge amounts of resources on the Moon change its orbit?
Have any astronauts/cosmonauts died in space?
What is the tangent at a sharp point on a curve?
When should a starting writer get his own webpage?
Nested Dynamic SOQL Query
What will the Frenchman say?
Homology of the fiber
"Marked down as someone wanting to sell shares." What does that mean?
How to balance a monster modification (zombie)?
Imaginary part of expression too difficult to calculate
MFC Dialog not showing the resource option strings in drop-list combo
2019 Community Moderator Electionhow to set flex combobox cursor positionMFC Combo-Box Control is not showing the full list of items when I click the drop-down menuWhy can't I add a string to a combo box?Populating combo box in MFC dialog boxDropdown list size issues when filtering contentRemoving QAT resources from a MFC Dialog project?Why does autocomplete in my Winforms ComboBox change the cursor location when typing?Combo box in a MFC applicationWPF notified ComboBox selection box and drop-down list item not synchronizing and not refreshing promptlyCan a MFC dialog resource be attached to a CChildView?
I know you are going to ask for a example you can try but I am finding it hard to do. Sorry ....
I have a MFC dialog and I recently added a combo control:
COMBOBOX IDC_COMBO_PUBLISHERS_TO_DISPLAY,44,18,107,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
Originally I added 3 text options in the data field:
1;2;3
I made sure the drop-down list area was tall enough to view all strings. Yet, when I compile it, no content was visible. In the end I deleted the strings from the data section and just added them manually.
Can you think of a setting that would cause this issue?
DLGINIT
section:
IDD_DIALOG_PUBLISHERS_DATABASE DLGINIT
BEGIN
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0031,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0032,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0033,
IDC_COMBO_GENDER, 0x403, 8, 0
0x7242, 0x746f, 0x6568, 0x0072,
IDC_COMBO_GENDER, 0x403, 7, 0
0x6953, 0x7473, 0x7265, "00"
IDC_COMBO_SERVING_AS, 0x403, 10, 0
0x7550, 0x6c62, 0x7369, 0x6568, 0x0072,
IDC_COMBO_SERVING_AS, 0x403, 16, 0
0x6552, 0x7567, 0x616c, 0x2072, 0x6970, 0x6e6f, 0x6565, 0x0072,
IDC_COMBO_APPOINTED_AS, 0x403, 14, 0
0x6f4e, 0x2074, 0x7061, 0x6f70, 0x6e69, 0x6574, 0x0064,
IDC_COMBO_APPOINTED_AS, 0x403, 20, 0
0x694d, 0x696e, 0x7473, 0x7265, 0x6169, 0x206c, 0x6573, 0x7672, 0x6e61,
0x0074,
IDC_COMBO_APPOINTED_AS, 0x403, 6, 0
0x6c45, 0x6564, 0x0072,
0
END
combobox mfc visual-studio-2017
add a comment |
I know you are going to ask for a example you can try but I am finding it hard to do. Sorry ....
I have a MFC dialog and I recently added a combo control:
COMBOBOX IDC_COMBO_PUBLISHERS_TO_DISPLAY,44,18,107,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
Originally I added 3 text options in the data field:
1;2;3
I made sure the drop-down list area was tall enough to view all strings. Yet, when I compile it, no content was visible. In the end I deleted the strings from the data section and just added them manually.
Can you think of a setting that would cause this issue?
DLGINIT
section:
IDD_DIALOG_PUBLISHERS_DATABASE DLGINIT
BEGIN
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0031,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0032,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0033,
IDC_COMBO_GENDER, 0x403, 8, 0
0x7242, 0x746f, 0x6568, 0x0072,
IDC_COMBO_GENDER, 0x403, 7, 0
0x6953, 0x7473, 0x7265, "00"
IDC_COMBO_SERVING_AS, 0x403, 10, 0
0x7550, 0x6c62, 0x7369, 0x6568, 0x0072,
IDC_COMBO_SERVING_AS, 0x403, 16, 0
0x6552, 0x7567, 0x616c, 0x2072, 0x6970, 0x6e6f, 0x6565, 0x0072,
IDC_COMBO_APPOINTED_AS, 0x403, 14, 0
0x6f4e, 0x2074, 0x7061, 0x6f70, 0x6e69, 0x6574, 0x0064,
IDC_COMBO_APPOINTED_AS, 0x403, 20, 0
0x694d, 0x696e, 0x7473, 0x7265, 0x6169, 0x206c, 0x6573, 0x7672, 0x6e61,
0x0074,
IDC_COMBO_APPOINTED_AS, 0x403, 6, 0
0x6c45, 0x6564, 0x0072,
0
END
combobox mfc visual-studio-2017
1
Visual Studio keeps the initialization data in a different place in *.rc file, it might be marked as"//Dialog Info"
The resource editor might get confused if you change the control's ID. I think the initialization data cannot be Unicode, so it's not that useful.
– Barmak Shemirani
Mar 7 at 19:23
@BarmakShemirani Yes I had found that out about Unicode over the years. So I ended up rebuilding combos anyway from the translated STRINGTABLE data. But it was always handy for the translator to see these strings in context in the dialog, even though not translatable (in appTranslator). I suppose it is possible I renamed the combo and caused the confusion. I could see the entries in the init area though. Think I will just have to leave it.
– Andrew Truckle
Mar 7 at 19:43
add a comment |
I know you are going to ask for a example you can try but I am finding it hard to do. Sorry ....
I have a MFC dialog and I recently added a combo control:
COMBOBOX IDC_COMBO_PUBLISHERS_TO_DISPLAY,44,18,107,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
Originally I added 3 text options in the data field:
1;2;3
I made sure the drop-down list area was tall enough to view all strings. Yet, when I compile it, no content was visible. In the end I deleted the strings from the data section and just added them manually.
Can you think of a setting that would cause this issue?
DLGINIT
section:
IDD_DIALOG_PUBLISHERS_DATABASE DLGINIT
BEGIN
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0031,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0032,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0033,
IDC_COMBO_GENDER, 0x403, 8, 0
0x7242, 0x746f, 0x6568, 0x0072,
IDC_COMBO_GENDER, 0x403, 7, 0
0x6953, 0x7473, 0x7265, "00"
IDC_COMBO_SERVING_AS, 0x403, 10, 0
0x7550, 0x6c62, 0x7369, 0x6568, 0x0072,
IDC_COMBO_SERVING_AS, 0x403, 16, 0
0x6552, 0x7567, 0x616c, 0x2072, 0x6970, 0x6e6f, 0x6565, 0x0072,
IDC_COMBO_APPOINTED_AS, 0x403, 14, 0
0x6f4e, 0x2074, 0x7061, 0x6f70, 0x6e69, 0x6574, 0x0064,
IDC_COMBO_APPOINTED_AS, 0x403, 20, 0
0x694d, 0x696e, 0x7473, 0x7265, 0x6169, 0x206c, 0x6573, 0x7672, 0x6e61,
0x0074,
IDC_COMBO_APPOINTED_AS, 0x403, 6, 0
0x6c45, 0x6564, 0x0072,
0
END
combobox mfc visual-studio-2017
I know you are going to ask for a example you can try but I am finding it hard to do. Sorry ....
I have a MFC dialog and I recently added a combo control:
COMBOBOX IDC_COMBO_PUBLISHERS_TO_DISPLAY,44,18,107,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
Originally I added 3 text options in the data field:
1;2;3
I made sure the drop-down list area was tall enough to view all strings. Yet, when I compile it, no content was visible. In the end I deleted the strings from the data section and just added them manually.
Can you think of a setting that would cause this issue?
DLGINIT
section:
IDD_DIALOG_PUBLISHERS_DATABASE DLGINIT
BEGIN
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0031,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0032,
IDC_COMBO_PUBLISHERS_TO_DISPLAY, 0x403, 2, 0
0x0033,
IDC_COMBO_GENDER, 0x403, 8, 0
0x7242, 0x746f, 0x6568, 0x0072,
IDC_COMBO_GENDER, 0x403, 7, 0
0x6953, 0x7473, 0x7265, "00"
IDC_COMBO_SERVING_AS, 0x403, 10, 0
0x7550, 0x6c62, 0x7369, 0x6568, 0x0072,
IDC_COMBO_SERVING_AS, 0x403, 16, 0
0x6552, 0x7567, 0x616c, 0x2072, 0x6970, 0x6e6f, 0x6565, 0x0072,
IDC_COMBO_APPOINTED_AS, 0x403, 14, 0
0x6f4e, 0x2074, 0x7061, 0x6f70, 0x6e69, 0x6574, 0x0064,
IDC_COMBO_APPOINTED_AS, 0x403, 20, 0
0x694d, 0x696e, 0x7473, 0x7265, 0x6169, 0x206c, 0x6573, 0x7672, 0x6e61,
0x0074,
IDC_COMBO_APPOINTED_AS, 0x403, 6, 0
0x6c45, 0x6564, 0x0072,
0
END
combobox mfc visual-studio-2017
combobox mfc visual-studio-2017
edited Mar 7 at 19:44
Andrew Truckle
asked Mar 7 at 18:42
Andrew TruckleAndrew Truckle
5,77952354
5,77952354
1
Visual Studio keeps the initialization data in a different place in *.rc file, it might be marked as"//Dialog Info"
The resource editor might get confused if you change the control's ID. I think the initialization data cannot be Unicode, so it's not that useful.
– Barmak Shemirani
Mar 7 at 19:23
@BarmakShemirani Yes I had found that out about Unicode over the years. So I ended up rebuilding combos anyway from the translated STRINGTABLE data. But it was always handy for the translator to see these strings in context in the dialog, even though not translatable (in appTranslator). I suppose it is possible I renamed the combo and caused the confusion. I could see the entries in the init area though. Think I will just have to leave it.
– Andrew Truckle
Mar 7 at 19:43
add a comment |
1
Visual Studio keeps the initialization data in a different place in *.rc file, it might be marked as"//Dialog Info"
The resource editor might get confused if you change the control's ID. I think the initialization data cannot be Unicode, so it's not that useful.
– Barmak Shemirani
Mar 7 at 19:23
@BarmakShemirani Yes I had found that out about Unicode over the years. So I ended up rebuilding combos anyway from the translated STRINGTABLE data. But it was always handy for the translator to see these strings in context in the dialog, even though not translatable (in appTranslator). I suppose it is possible I renamed the combo and caused the confusion. I could see the entries in the init area though. Think I will just have to leave it.
– Andrew Truckle
Mar 7 at 19:43
1
1
Visual Studio keeps the initialization data in a different place in *.rc file, it might be marked as
"//Dialog Info"
The resource editor might get confused if you change the control's ID. I think the initialization data cannot be Unicode, so it's not that useful.– Barmak Shemirani
Mar 7 at 19:23
Visual Studio keeps the initialization data in a different place in *.rc file, it might be marked as
"//Dialog Info"
The resource editor might get confused if you change the control's ID. I think the initialization data cannot be Unicode, so it's not that useful.– Barmak Shemirani
Mar 7 at 19:23
@BarmakShemirani Yes I had found that out about Unicode over the years. So I ended up rebuilding combos anyway from the translated STRINGTABLE data. But it was always handy for the translator to see these strings in context in the dialog, even though not translatable (in appTranslator). I suppose it is possible I renamed the combo and caused the confusion. I could see the entries in the init area though. Think I will just have to leave it.
– Andrew Truckle
Mar 7 at 19:43
@BarmakShemirani Yes I had found that out about Unicode over the years. So I ended up rebuilding combos anyway from the translated STRINGTABLE data. But it was always handy for the translator to see these strings in context in the dialog, even though not translatable (in appTranslator). I suppose it is possible I renamed the combo and caused the confusion. I could see the entries in the init area though. Think I will just have to leave it.
– Andrew Truckle
Mar 7 at 19:43
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55050750%2fmfc-dialog-not-showing-the-resource-option-strings-in-drop-list-combo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55050750%2fmfc-dialog-not-showing-the-resource-option-strings-in-drop-list-combo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Visual Studio keeps the initialization data in a different place in *.rc file, it might be marked as
"//Dialog Info"
The resource editor might get confused if you change the control's ID. I think the initialization data cannot be Unicode, so it's not that useful.– Barmak Shemirani
Mar 7 at 19:23
@BarmakShemirani Yes I had found that out about Unicode over the years. So I ended up rebuilding combos anyway from the translated STRINGTABLE data. But it was always handy for the translator to see these strings in context in the dialog, even though not translatable (in appTranslator). I suppose it is possible I renamed the combo and caused the confusion. I could see the entries in the init area though. Think I will just have to leave it.
– Andrew Truckle
Mar 7 at 19:43