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

C / C++ / MFC

 
AnswerRe: CreateHardlink Pin
A_Fa8-Oct-06 0:12
A_Fa8-Oct-06 0:12 
AnswerRe: CreateHardlink Pin
A_Fa8-Oct-06 0:16
A_Fa8-Oct-06 0:16 
AnswerRe: CreateHardlink Pin
Michael Dunn8-Oct-06 11:17
sitebuilderMichael Dunn8-Oct-06 11:17 
QuestionContinueDebugEvent Pin
samira forooghi7-Oct-06 19:34
samira forooghi7-Oct-06 19:34 
AnswerRe: ContinueDebugEvent Pin
Hamid_RT8-Oct-06 7:13
Hamid_RT8-Oct-06 7:13 
QuestionHow to work with controls in MFC? Pin
Lord Kixdemp7-Oct-06 19:11
Lord Kixdemp7-Oct-06 19:11 
AnswerRe: How to work with controls in MFC? Pin
Hamid_RT7-Oct-06 19:28
Hamid_RT7-Oct-06 19:28 
GeneralRe: How to work with controls in MFC? Pin
Lord Kixdemp7-Oct-06 20:12
Lord Kixdemp7-Oct-06 20:12 
Looks like just what I wanted Big Grin | :-D , but it doesn't work... Frown | :( It gives me an assertion error on file winocc.cpp:297... My code is as follows:

At the end of CMyDlg::OnInitDialog()
<code>
	// TODO: Add extra initialization here

	AfxMessageBox(_TEXT("Hey!"), 0, 0);

	m_makeKiller.SetDlgCtrlID(IDC_MAKE_KILLER);
	m_makeKiller.EnableWindow();
</code>

And the beginning of the class declaration:

<code>class CMyDlg : public CDialog
{
private:
		CButton m_makeKiller;</code>
...
<code>}</code>


What's wrong with that? I don't recall changing anything else except event handlers... Thanks! Wink | ;)

Windows Calculator told me I will die at 28. Frown | :(

GeneralRe: How to work with controls in MFC? Pin
Hamid_RT7-Oct-06 21:10
Hamid_RT7-Oct-06 21:10 
GeneralRe: How to work with controls in MFC? [modified] Pin
Lord Kixdemp8-Oct-06 6:14
Lord Kixdemp8-Oct-06 6:14 
GeneralRe: How to work with controls in MFC? Pin
Hamid_RT8-Oct-06 7:14
Hamid_RT8-Oct-06 7:14 
GeneralRe: How to work with controls in MFC? Pin
Mark Salsbery8-Oct-06 8:47
Mark Salsbery8-Oct-06 8:47 
GeneralRe: How to work with controls in MFC? Pin
Lord Kixdemp9-Oct-06 10:16
Lord Kixdemp9-Oct-06 10:16 
QuestionChange cursor image(Win 32 Application -Helloworld) Pin
TranQuangNhat7-Oct-06 19:01
TranQuangNhat7-Oct-06 19:01 
AnswerRe: Change cursor image(Win 32 Application -Helloworld) Pin
Hamid_RT7-Oct-06 19:30
Hamid_RT7-Oct-06 19:30 
GeneralRe: Change cursor image(Win 32 Application -Helloworld) Pin
TranQuangNhat8-Oct-06 1:20
TranQuangNhat8-Oct-06 1:20 
GeneralRe: Change cursor image(Win 32 Application -Helloworld) Pin
Hamid_RT8-Oct-06 2:13
Hamid_RT8-Oct-06 2:13 
AnswerRe: Change cursor image(Win 32 Application -Helloworld) Pin
Michael Dunn8-Oct-06 11:26
sitebuilderMichael Dunn8-Oct-06 11:26 
QuestionBasic handles question Pin
Oliver1237-Oct-06 12:03
Oliver1237-Oct-06 12:03 
AnswerRe: Basic handles question Pin
Mike_V7-Oct-06 12:43
Mike_V7-Oct-06 12:43 
AnswerRe: Basic handles question Pin
Angbo20067-Oct-06 20:12
Angbo20067-Oct-06 20:12 
AnswerRe: Basic handles question Pin
Hamid_RT8-Oct-06 7:14
Hamid_RT8-Oct-06 7:14 
AnswerRe: Basic handles question Pin
Oliver1238-Oct-06 9:25
Oliver1238-Oct-06 9:25 
QuestionFull Screen Pin
Waldermort7-Oct-06 8:47
Waldermort7-Oct-06 8:47 
AnswerRe: Full Screen Pin
Hamid_RT7-Oct-06 9:10
Hamid_RT7-Oct-06 9:10 

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.