Click here to Skip to main content
15,915,800 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CPU Time Pin
N a v a n e e t h20-Mar-09 19:09
N a v a n e e t h20-Mar-09 19:09 
AnswerRe: CPU Time Pin
Stuart Dootson21-Mar-09 0:41
professionalStuart Dootson21-Mar-09 0:41 
Questionhow to detect the installed language pack in an application through MFC . Pin
Purish Dwivedi20-Mar-09 18:12
Purish Dwivedi20-Mar-09 18:12 
AnswerRe: how to detect the installed language pack in an application through MFC . Pin
JBAK_CP21-Mar-09 5:17
JBAK_CP21-Mar-09 5:17 
QuestionWhen call CWnd::Creat, the parent windows parameter can't be NULL Pin
followait20-Mar-09 17:29
followait20-Mar-09 17:29 
AnswerRe: When call CWnd::Creat, the parent windows parameter can't be NULL Pin
Yusuf20-Mar-09 18:14
Yusuf20-Mar-09 18:14 
GeneralRe: When call CWnd::Creat, the parent windows parameter can't be NULL Pin
followait20-Mar-09 18:36
followait20-Mar-09 18:36 
QuestionBinary Edit Source Pin
ShiXiangYang20-Mar-09 15:53
ShiXiangYang20-Mar-09 15:53 
AnswerRe: Binary Edit Source Pin
Yusuf20-Mar-09 16:17
Yusuf20-Mar-09 16:17 
AnswerRe: Binary Edit Source Pin
Michael Schubert21-Mar-09 0:49
Michael Schubert21-Mar-09 0:49 
JokeRe: Binary Edit Source Pin
norish21-Mar-09 1:49
norish21-Mar-09 1:49 
JokeRe: Binary Edit Source Pin
Rajesh R Subramanian21-Mar-09 4:52
professionalRajesh R Subramanian21-Mar-09 4:52 
GeneralRe: Binary Edit Source Pin
Michael Schubert21-Mar-09 8:30
Michael Schubert21-Mar-09 8:30 
QuestionReadString() crashes at the end of file? [modified] Pin
AlanLai20-Mar-09 14:37
AlanLai20-Mar-09 14:37 
AnswerRe: ReadString() crashes at the end of file? Pin
CPallini21-Mar-09 1:13
mveCPallini21-Mar-09 1:13 
GeneralRe: ReadString() crashes at the end of file? Pin
AlanLai23-Mar-09 10:24
AlanLai23-Mar-09 10:24 
GeneralRe: ReadString() crashes at the end of file? Pin
CPallini23-Mar-09 10:45
mveCPallini23-Mar-09 10:45 
GeneralRe: ReadString() crashes at the end of file? Pin
AlanLai23-Mar-09 11:45
AlanLai23-Mar-09 11:45 
GeneralRe: ReadString() crashes at the end of file? Pin
AlanLai31-Mar-09 9:00
AlanLai31-Mar-09 9:00 
QuestionRun-time error stops dialog when combo box added: [8002] Window Create, and Create Dialog failure Error code-20 Pin
Goo220-Mar-09 12:00
Goo220-Mar-09 12:00 
Hi All,
I'm not having a lot of luck declaring a combo box in the class code for my dialog resource. I'm using VC++ ver 2.0, non-MFC, Win32 with SDK calls only. I'm making additions to a large and complex legacy program.
Without the combo box declared in the code, the dialog opens fine when the program launches, but when I add the combo box, I get the following two message boxes:
First:
"Create Dialog failure"
Engineering Note ...
Dialog Creation Error
Be sure that there is a Dialog named, "" amongst the program's resources.
Then: an "OK" box:
Exiting due to Error
[8002] Window Create
Error code-20: Create Dialog failure
When I click on the OK, the entire program exits. I've typed the three last lines of each above, letter-for-letter from the messages displayed.
In my class in my .h file, I've declared the following:
ComboBox m_PhNoComboBox;
I added the following to my constructor in my .cpp file:
m_PhNoComboBox (this, WMM_IDC_MND_PHNOS_COMBO)
right after the constructor's function identifier and parameters line and the code builds, but gives that run-time error.
Does anyone have any idea what might be causing this? Should anything else be added?
Searching, I found nothing relevant about the error codes 8002 and 20.
Here's how I'm declaring the combo box in the resource description:
-------------------
WMM_MY_DIALOG DIALOG DISCARDABLE 101, 36, 296, 201
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "My Dialog"
FONT 8, "MS Sans Serif"
BEGIN
COMBOBOX WMM_IDC_MND_PHNOS_COMBO,137,22,137,164,CBS_DROPDOWN | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "&Close",IDCANCEL,15,177,32,14
END
-------------------

Best regards,
AnswerRe: Run-time error stops dialog when combo box added: [8002] Window Create, and Create Dialog failure Error code-20 Pin
norish20-Mar-09 19:48
norish20-Mar-09 19:48 
QuestionWant to stop full screen display when using Windows media player Pin
Keith Worden20-Mar-09 8:43
Keith Worden20-Mar-09 8:43 
AnswerRe: Want to stop full screen display when using Windows media player Pin
V Shah11-Mar-10 6:28
V Shah11-Mar-10 6:28 
GeneralRe: Want to stop full screen display when using Windows media player Pin
Keith Worden11-Mar-10 6:45
Keith Worden11-Mar-10 6:45 
QuestionGetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
zouzoulikou20-Mar-09 7:49
zouzoulikou20-Mar-09 7:49 

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.