Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert array to pointers Pin
GDavy13-Apr-08 22:18
GDavy13-Apr-08 22:18 
GeneralAudio Equalizer With and Without DirectSound(ParamEq DMO) Pin
Akin Ocal13-Apr-08 11:38
Akin Ocal13-Apr-08 11:38 
QuestionInitializing std::string with "Extended ASCII Codes" Pin
Mushtaque Nizamani13-Apr-08 9:34
Mushtaque Nizamani13-Apr-08 9:34 
GeneralRe: Initializing std::string with "Extended ASCII Codes" Pin
Randor 13-Apr-08 14:06
professional Randor 13-Apr-08 14:06 
GeneralRe: Initializing std::string with "Extended ASCII Codes" Pin
Mushtaque Nizamani13-Apr-08 16:05
Mushtaque Nizamani13-Apr-08 16:05 
GeneralNo hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr13-Apr-08 9:03
Larry Mills Sr13-Apr-08 9:03 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Michael Dunn13-Apr-08 12:59
sitebuilderMichael Dunn13-Apr-08 12:59 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr14-Apr-08 6:02
Larry Mills Sr14-Apr-08 6:02 
Here's the code from my "theApp" objerct:
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

I don't know if this is right/wrong. It's what the wizzard put in the programs .cpp file
some more code:
CMonthCalCtrl m_cMonCtrl;
CListCtrl m_cLstCtrl;

DDX_Control(pDX, IDC_MONTHCAL, m_cMonCtrl);
DDX_Control(pDX, IDC_LOG_ENTRY_EDTLOG, m_cLstCtrl);
CTime ct;
/**************************************** ERROR *******************************/
m_cMonCtrl.GetCurSel(ct);// "Access Violation" error (no hwnd, ie hwnd=00000000)

A C++ programming language novice, but striving to learn
QuestionRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow14-Apr-08 10:31
David Crow14-Apr-08 10:31 
QuestionRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow14-Apr-08 4:30
David Crow14-Apr-08 4:30 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr14-Apr-08 5:33
Larry Mills Sr14-Apr-08 5:33 
QuestionRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow14-Apr-08 5:39
David Crow14-Apr-08 5:39 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr14-Apr-08 6:05
Larry Mills Sr14-Apr-08 6:05 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow14-Apr-08 10:36
David Crow14-Apr-08 10:36 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr14-Apr-08 10:43
Larry Mills Sr14-Apr-08 10:43 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow15-Apr-08 9:18
David Crow15-Apr-08 9:18 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr15-Apr-08 12:30
Larry Mills Sr15-Apr-08 12:30 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow16-Apr-08 2:55
David Crow16-Apr-08 2:55 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr16-Apr-08 4:25
Larry Mills Sr16-Apr-08 4:25 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow16-Apr-08 4:40
David Crow16-Apr-08 4:40 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr17-Apr-08 10:54
Larry Mills Sr17-Apr-08 10:54 
QuestionRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow17-Apr-08 11:03
David Crow17-Apr-08 11:03 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr17-Apr-08 11:34
Larry Mills Sr17-Apr-08 11:34 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
Larry Mills Sr20-Apr-08 11:07
Larry Mills Sr20-Apr-08 11:07 
GeneralRe: No hwnd, ie hwnd = 00000000 using CMonthCalendar Control Pin
David Crow20-Apr-08 16:15
David Crow20-Apr-08 16:15 

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.