Click here to Skip to main content
15,915,869 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Object Design Question Pin
Richard Longhorn Mchony7-Oct-02 13:37
sussRichard Longhorn Mchony7-Oct-02 13:37 
GeneralRe: Object Design Question Pin
Paul M Watt7-Oct-02 20:17
mentorPaul M Watt7-Oct-02 20:17 
GeneralClistctrl and insertItem Pin
ns7-Oct-02 9:08
ns7-Oct-02 9:08 
GeneralRe: Clistctrl and insertItem Pin
Joaquín M López Muñoz7-Oct-02 10:04
Joaquín M López Muñoz7-Oct-02 10:04 
GeneralRe: Clistctrl and insertItem Pin
ns8-Oct-02 1:15
ns8-Oct-02 1:15 
GeneralQuick SDI Question Pin
Anonymous7-Oct-02 9:02
Anonymous7-Oct-02 9:02 
GeneralRe: Quick SDI Question Pin
Jörgen Sigvardsson7-Oct-02 10:02
Jörgen Sigvardsson7-Oct-02 10:02 
GeneralRe: Quick SDI Question Pin
Anonymous7-Oct-02 10:12
Anonymous7-Oct-02 10:12 
Doesn't seem to.. Unless when I create it I need to add something.. Here is how I create the controls..

if (CView::OnCreate(lpCreateStruct) == -1)
		return -1;
	if( !m_wndMonitor.Create(WS_CHILD|WS_VISIBLE|WS_VSCROLL|ES_MULTILINE|ES_READONLY, CRect(), this, 100) )
		return -1;
	if(!m_wndSendText.Create(WS_CHILD|WS_VISIBLE|WS_VSCROLL|ES_MULTILINE, CRect(), this, 101))
		return -1;
	
	m_wndMonitor.ModifyStyleEx(WS_EX_CLIENTEDGE, 0);
	m_wndMonitor.SendMessage(WM_SETFONT, (WPARAM)GetStockObject(SYSTEM_FIXED_FONT));
	
	unsigned mask = m_wndMonitor.SendMessage(EM_GETEVENTMASK,0,0);
	m_wndMonitor.SendMessage(EM_SETEVENTMASK,0,mask | ENM_LINK);

	m_wndMonitor.SendMessage(m_wndMonitor.SetEventMask(ENM_LINK)) ;
	m_wndMonitor.SendMessage(EM_AUTOURLDETECT,TRUE,0);

	m_wndSendText.ModifyStyleEx(0, WS_EX_STATICEDGE);
	m_wndSendText.SendMessage(WM_SETFONT, (WPARAM)GetStockObject(SYSTEM_FIXED_FONT));
		
	return 0;

m_wndMonitor is one rich edit control
m_wndSendText is the other
Generalc++ to c# question Pin
Duckworth7-Oct-02 8:57
Duckworth7-Oct-02 8:57 
GeneralRe: c++ to c# question Pin
Jörgen Sigvardsson7-Oct-02 10:09
Jörgen Sigvardsson7-Oct-02 10:09 
GeneralSerial Ports and WaitCommEvent( ) Pin
SportyDan7-Oct-02 8:35
SportyDan7-Oct-02 8:35 
GeneralRe: Serial Ports and WaitCommEvent( ) Pin
Joaquín M López Muñoz7-Oct-02 9:56
Joaquín M López Muñoz7-Oct-02 9:56 
Questionwhat's wrong here? Pin
Kash7-Oct-02 8:29
Kash7-Oct-02 8:29 
GeneralCreating new View Pin
Goa7-Oct-02 8:27
Goa7-Oct-02 8:27 
GeneralRe: Creating new View Pin
valikac7-Oct-02 10:38
valikac7-Oct-02 10:38 
QuestionHow do I ....??? Pin
JohnnyG7-Oct-02 7:58
JohnnyG7-Oct-02 7:58 
AnswerRe: How do I ....??? Pin
Joaquín M López Muñoz7-Oct-02 10:08
Joaquín M López Muñoz7-Oct-02 10:08 
GeneralRe: How do I ....??? Pin
JohnnyG7-Oct-02 10:26
JohnnyG7-Oct-02 10:26 
GeneralRe: How do I ....??? Pin
JohnnyG8-Oct-02 17:21
JohnnyG8-Oct-02 17:21 
GeneralADO and ADOX Pin
arthivjii7-Oct-02 7:20
arthivjii7-Oct-02 7:20 
GeneralRe: ADO and ADOX Pin
Joaquín M López Muñoz7-Oct-02 9:49
Joaquín M López Muñoz7-Oct-02 9:49 
Generalneed help with shell extensions tutorial Pin
Brakanjan7-Oct-02 6:36
Brakanjan7-Oct-02 6:36 
GeneralRe: need help with shell extensions tutorial Pin
jmkhael7-Oct-02 6:45
jmkhael7-Oct-02 6:45 
GeneralRe: need help with shell extensions tutorial Pin
Brakanjan7-Oct-02 6:57
Brakanjan7-Oct-02 6:57 
QuestionHow do i format a number with digit grouping? Pin
Redeemer-dk7-Oct-02 6:17
Redeemer-dk7-Oct-02 6:17 

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.