Click here to Skip to main content
15,909,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get codes of content-based audio retrieval Pin
Christian Graus22-Aug-06 21:39
protectorChristian Graus22-Aug-06 21:39 
QuestionA control problem Pin
curiosity537422-Aug-06 21:01
curiosity537422-Aug-06 21:01 
AnswerRe: A control problem Pin
Christian Graus22-Aug-06 21:36
protectorChristian Graus22-Aug-06 21:36 
GeneralRe: A control problem Pin
toxcct22-Aug-06 21:55
toxcct22-Aug-06 21:55 
QuestionClass is not recognized, even if header file included Pin
SanjaySMK22-Aug-06 20:40
SanjaySMK22-Aug-06 20:40 
GeneralRe: Class is not recognized, even if header file included Pin
prasad_som22-Aug-06 20:49
prasad_som22-Aug-06 20:49 
AnswerRe: Class is not recognized, even if header file included Pin
Cedric Moonen22-Aug-06 20:54
Cedric Moonen22-Aug-06 20:54 
GeneralRe: Class is not recognized, even if header file included [modified] Pin
SanjaySMK22-Aug-06 23:37
SanjaySMK22-Aug-06 23:37 
Hello,
I have attached the code. I have a dialog box in which I am placing a RichEdit box as a child window control. Without creating an object of RichEdit, how can I set its position inside its parent, that is the dialog box?

<br />
# include "MyRichEdit.h"<br />
class CMyRichEdit ;<br />
/////////////////////////////////////////////////////////////////////////////<br />
// CTrialRichEditBreakDlg dialog<br />
<br />
class CTrialRichEditBreakDlg : public CDialog<br />
{<br />
// Construction<br />
public:<br />
	CMyRichEdit m_RichEdit ;<br />
	CTrialRichEditBreakDlg(CWnd* pParent = NULL);	// standard constructor<br />
	<br />
// Dialog Data<br />
	//{{AFX_DATA(CTrialRichEditBreakDlg)<br />
	enum { IDD = IDD_TRIALRICHEDITBREAK_DIALOG };<br />
		// NOTE: the ClassWizard will add data members here<br />
	//}}AFX_DATA<br />
<br />
	// ClassWizard generated virtual function overrides<br />
	//{{AFX_VIRTUAL(CTrialRichEditBreakDlg)<br />
	<br />
	protected:<br />
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support<br />
	//}}AFX_VIRTUAL<br />
	<br />
// Implementation<br />
protected:<br />
	HICON m_hIcon;<br />
<br />
	// Generated message map functions<br />
	//{{AFX_MSG(CTrialRichEditBreakDlg)<br />
	virtual BOOL OnInitDialog();<br />
	afx_msg void OnPaint();<br />
	afx_msg HCURSOR OnQueryDragIcon();<br />
	afx_msg void OnDrawCircle();<br />
	//}}AFX_MSG<br />
	DECLARE_MESSAGE_MAP()<br />
};<br />

Thanks a ton. And what about my previous query posted, that is of not being able to trap F9 key in this same application, I have explained it in my previous query.
Sanjay.


-- modified at 5:44 Wednesday 23rd August, 2006


-- modified at 5:50 Wednesday 23rd August, 2006


-- modified at 6:01 Wednesday 23rd August, 2006

Software Developer
Sanjay Khapre

QuestionRe: Class is not recognized, even if header file included Pin
prasad_som22-Aug-06 23:58
prasad_som22-Aug-06 23:58 
AnswerRe: Class is not recognized, even if header file included Pin
SanjaySMK23-Aug-06 0:10
SanjaySMK23-Aug-06 0:10 
GeneralRe: Class is not recognized, even if header file included Pin
prasad_som23-Aug-06 0:22
prasad_som23-Aug-06 0:22 
QuestionHow to change the font-color in Edit Control? Pin
Joy Anne22-Aug-06 20:05
Joy Anne22-Aug-06 20:05 
AnswerRe: How to change the font-color in Edit Control? Pin
Hamid_RT22-Aug-06 20:07
Hamid_RT22-Aug-06 20:07 
QuestionHow can i color to Splitter Pin
kiranin22-Aug-06 20:02
kiranin22-Aug-06 20:02 
AnswerRe: How can i color to Splitter Pin
sujtha22-Aug-06 20:49
sujtha22-Aug-06 20:49 
QuestionHow to validate the special characters Pin
reddy harish22-Aug-06 19:35
reddy harish22-Aug-06 19:35 
AnswerRe: How to validate the special characters Pin
Waldermort22-Aug-06 19:43
Waldermort22-Aug-06 19:43 
GeneralRe: How to validate the special characters Pin
Stephen Hewitt22-Aug-06 20:25
Stephen Hewitt22-Aug-06 20:25 
GeneralRe: How to validate the special characters Pin
Waldermort22-Aug-06 20:42
Waldermort22-Aug-06 20:42 
AnswerRe: How to validate the special characters [modified] Pin
Cedric Moonen22-Aug-06 20:31
Cedric Moonen22-Aug-06 20:31 
GeneralRe: How to validate the special characters Pin
reddy harish22-Aug-06 21:02
reddy harish22-Aug-06 21:02 
GeneralRe: How to validate the special characters Pin
reddy harish23-Aug-06 3:08
reddy harish23-Aug-06 3:08 
QuestionIcons Pin
Waldermort22-Aug-06 19:27
Waldermort22-Aug-06 19:27 
AnswerRe: Icons Pin
Rage22-Aug-06 21:59
professionalRage22-Aug-06 21:59 
GeneralRe: Icons Pin
Waldermort22-Aug-06 23:54
Waldermort22-Aug-06 23:54 

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.