Click here to Skip to main content
15,914,410 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I communicate with parallel port Pin
Member 176156313-Mar-05 16:46
Member 176156313-Mar-05 16:46 
GeneralRe: How do I communicate with parallel port Pin
Nickmatic13-Mar-05 17:49
Nickmatic13-Mar-05 17:49 
AnswerRe: How do I communicate with parallel port Pin
Indivara13-Mar-05 16:53
professionalIndivara13-Mar-05 16:53 
AnswerRe: How do I communicate with parallel port Pin
namaskaaram13-Mar-05 17:02
namaskaaram13-Mar-05 17:02 
AnswerRe: How do I communicate with parallel port Pin
MADCOWIE4-Apr-05 17:26
MADCOWIE4-Apr-05 17:26 
GeneralSome stupid question.. Pin
Romashki13-Mar-05 12:03
Romashki13-Mar-05 12:03 
GeneralRe: Some stupid question.. Pin
JohnCz13-Mar-05 13:22
JohnCz13-Mar-05 13:22 
GeneralRe: Some stupid question.. Pin
Romashki15-Mar-05 7:41
Romashki15-Mar-05 7:41 
Please, tell me, what's wrong here:
//class declaration for one of the Property Sheets pages<br />
	class CInput : public CPropertyPage<br />
	{...<br />
	void AddEditBox();<br />
	...<br />
	}<br />
<br />
<br />
	//function, creating Edit Boxes<br />
	void CInput::AddEditBox()<br />
	{<br />
<br />
	CRect rect( 8, 25, 28, 45 );<br />
	int ID = 4000;<br />
<br />
	CEdit *p = new CEdit;<br />
	<br />
	p->Create( WS_CHILD | WS_VISIBLE | WS_TABSTOP |<br />
             ES_AUTOHSCROLL | WS_BORDER | WS_DISABLED, rect, this, ID );<br />
<br />
	}


Now, I want to call this function from my View class (on WM_LBUTTONUP event)

void CMyView::OnLButtonUp(UINT nFlags, CPoint point) <br />
	{<br />
	...<br />
	CInput inp;<br />
	...<br />
	inp.AddInputEdit();<br />
	...<br />
	}

but Create function returns 0..? why? what I did wrong..?Frown | :(
GeneralRe: Some stupid question.. Pin
JohnCz18-Mar-05 5:44
JohnCz18-Mar-05 5:44 
GeneralRe: Some stupid question.. Pin
Romashki18-Mar-05 9:45
Romashki18-Mar-05 9:45 
GeneralRect Value AGAIN!!!!!!! Pin
13-Mar-05 11:26
suss13-Mar-05 11:26 
GeneralRe: Rect Value AGAIN!!!!!!! Pin
Ravi Bhavnani13-Mar-05 11:35
professionalRavi Bhavnani13-Mar-05 11:35 
GeneralRe: Rect Value AGAIN!!!!!!! Pin
gdocherty13-Mar-05 13:28
gdocherty13-Mar-05 13:28 
GeneralWord wrap puzzle Pin
Ravi Bhavnani13-Mar-05 11:24
professionalRavi Bhavnani13-Mar-05 11:24 
GeneralRe: Word wrap puzzle Pin
Graham Bradshaw13-Mar-05 11:51
Graham Bradshaw13-Mar-05 11:51 
GeneralRe: Word wrap puzzle Pin
Ravi Bhavnani13-Mar-05 13:13
professionalRavi Bhavnani13-Mar-05 13:13 
GeneralRe: Clarification Pin
PJ Arends13-Mar-05 11:56
professionalPJ Arends13-Mar-05 11:56 
GeneralRe: Clarification Pin
PJ Arends13-Mar-05 12:43
professionalPJ Arends13-Mar-05 12:43 
GeneralRe: Clarification Pin
Ravi Bhavnani13-Mar-05 13:12
professionalRavi Bhavnani13-Mar-05 13:12 
GeneralRe: Clarification Pin
Ravi Bhavnani24-Mar-05 4:14
professionalRavi Bhavnani24-Mar-05 4:14 
GeneralRe: Clarification Pin
Ravi Bhavnani13-Mar-05 12:57
professionalRavi Bhavnani13-Mar-05 12:57 
QuestionNetwork problem? Pin
dSolariuM13-Mar-05 10:11
dSolariuM13-Mar-05 10:11 
AnswerRe: Network problem? Pin
Ravi Bhavnani13-Mar-05 10:24
professionalRavi Bhavnani13-Mar-05 10:24 
GeneralComunications with Dialogs Pin
HackPrince13-Mar-05 6:08
HackPrince13-Mar-05 6:08 
GeneralRe: Comunications with Dialogs Pin
John R. Shaw13-Mar-05 6:25
John R. Shaw13-Mar-05 6:25 

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.