Click here to Skip to main content
15,892,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using Custom Classes in AFX message maps Pin
Anonymous17-Apr-03 4:31
Anonymous17-Apr-03 4:31 
QuestionNot an MFC project?? Pin
Ed K16-Apr-03 8:24
Ed K16-Apr-03 8:24 
AnswerRe: Not an MFC project?? Pin
Joaquín M López Muñoz16-Apr-03 8:38
Joaquín M López Muñoz16-Apr-03 8:38 
AnswerRe: Not an MFC project?? Pin
perlmunger16-Apr-03 8:38
perlmunger16-Apr-03 8:38 
AnswerRe: Not an MFC project?? Pin
Toni7816-Apr-03 21:24
Toni7816-Apr-03 21:24 
GeneralStupid comb box not working Pin
Anonymous16-Apr-03 7:25
Anonymous16-Apr-03 7:25 
GeneralRe: Stupid comb box not working Pin
Anonymous16-Apr-03 8:44
Anonymous16-Apr-03 8:44 
GeneralRe: Stupid comb box not working Pin
perlmunger16-Apr-03 8:57
perlmunger16-Apr-03 8:57 
Compare your message map calls between the two projects and see if they match. Your event may not have gotten hooked up for some reason. I've had issues with that before (though not usually on a combo box) that were fixed by hooking up the message map manually.

I did a test app to see if I could duplicate your problem and mine worked fine. Heres the code that classwizard generated.
void CSelChangeTestDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSelChangeTestDlg)
	DDX_Control(pDX, IDC_STATIC_LABEL, m_label);
	DDX_Control(pDX, IDC_COMBO1, m_combo1);
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CSelChangeTestDlg, CDialog)
	//{{AFX_MSG_MAP(CSelChangeTestDlg)
	ON_WM_SYSCOMMAND()
	ON_WM_PAINT()
	ON_WM_QUERYDRAGICON()
	ON_CBN_SELCHANGE(IDC_COMBO1, OnSelchangeCombo1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

Best Regards.

-Matt

------------------------------------------

The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
GeneralRe: Stupid comb box not working Pin
Anonymous16-Apr-03 9:30
Anonymous16-Apr-03 9:30 
GeneralRe: Stupid ... (figured it out, still need help though) Pin
Anonymous16-Apr-03 9:42
Anonymous16-Apr-03 9:42 
GeneralRe: Stupid ... (figured it out, still need help though) Pin
Mr. Maan16-Apr-03 12:07
Mr. Maan16-Apr-03 12:07 
GeneralI very am confused with menssages between instances Pin
Martin_Viet16-Apr-03 6:33
Martin_Viet16-Apr-03 6:33 
GeneralRe: I very am confused with menssages between instances Pin
User 665816-Apr-03 7:04
User 665816-Apr-03 7:04 
General(:() I very am confused with menssages between instances Pin
Martin_Viet16-Apr-03 7:31
Martin_Viet16-Apr-03 7:31 
GeneralRe: (:() I very am confused with menssages between instances Pin
Martin_Viet16-Apr-03 9:23
Martin_Viet16-Apr-03 9:23 
GeneralActive X using another Active X Pin
dvlpt16-Apr-03 6:14
dvlpt16-Apr-03 6:14 
GeneralRe: Active X using another Active X Pin
Mauricio Ritter16-Apr-03 6:19
Mauricio Ritter16-Apr-03 6:19 
GeneralRe: Active X using another Active X Pin
dvlpt16-Apr-03 6:23
dvlpt16-Apr-03 6:23 
GeneralRe: Active X using another Active X Pin
Mauricio Ritter16-Apr-03 6:40
Mauricio Ritter16-Apr-03 6:40 
GeneralRe: Active X using another Active X Pin
dvlpt17-Apr-03 0:04
dvlpt17-Apr-03 0:04 
GeneralPrinting Active Documents Pin
Martyn Pearson16-Apr-03 5:29
Martyn Pearson16-Apr-03 5:29 
GeneralMulti-threaded graphics in MFC Pin
Iceman16-Apr-03 5:26
Iceman16-Apr-03 5:26 
GeneralRe: Multi-threaded graphics in MFC Pin
Chris Losinger16-Apr-03 5:47
professionalChris Losinger16-Apr-03 5:47 
GeneralRe: Multi-threaded graphics in MFC Pin
Iceman16-Apr-03 6:07
Iceman16-Apr-03 6:07 
GeneralUse of class function in thread Pin
Tomaz Rotovnik16-Apr-03 5:02
Tomaz Rotovnik16-Apr-03 5:02 

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.