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

C / C++ / MFC

 
GeneralI want to insert a new line between subjects in a CString variable. Pin
ElizabethC1-Apr-03 8:21
ElizabethC1-Apr-03 8:21 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
Dave Bryant1-Apr-03 9:17
Dave Bryant1-Apr-03 9:17 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
ElizabethC1-Apr-03 10:50
ElizabethC1-Apr-03 10:50 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
Nick Parker1-Apr-03 11:29
protectorNick Parker1-Apr-03 11:29 
Generalstatic text formatting Pin
RalfPeter1-Apr-03 8:05
RalfPeter1-Apr-03 8:05 
GeneralRe: static text formatting Pin
Chris Losinger1-Apr-03 8:14
professionalChris Losinger1-Apr-03 8:14 
GeneralMFC + ATL Pin
Anonymous1-Apr-03 7:52
Anonymous1-Apr-03 7:52 
GeneralHeader control in ListView Pin
rosen1-Apr-03 7:33
rosen1-Apr-03 7:33 
Hello.
I have a very preposterous problem. I have a ListView class.
Sa i want when i click on a column in the header control, an event to be manipulated in my ListView class. So i thought the clear decision is to use ClassWizard and to add a message handler for the event HDN_ITEMCLICK :
this is the method generated by ClassView

<br />
void CRegDlg::OnItemclickList1(NMHDR* pNMHDR, LRESULT* pResult) <br />
{<br />
	HD_NOTIFY *phdn = (HD_NOTIFY *) pNMHDR;<br />
	// TODO: Add your control notification handler code here<br />
	AfxMessageBox("a"); // for example<br />
	*pResult = 0;<br />
}<br />


Yes, but ... noo. When i press a header control column nothing happens ?
Why it is?
Can anyone help me.
Generalexplorer bar Pin
mweiss1-Apr-03 7:14
mweiss1-Apr-03 7:14 
Generalwinpcap problem Pin
summo1-Apr-03 6:41
summo1-Apr-03 6:41 
GeneralVideo Conference App Pin
extremalis1-Apr-03 6:38
extremalis1-Apr-03 6:38 
GeneralRe: Video Conference App Pin
Anonymous10-Apr-03 21:51
Anonymous10-Apr-03 21:51 
GeneralRe: Video Conference App Pin
extremalis14-Apr-03 3:39
extremalis14-Apr-03 3:39 
GeneralResizing Pin
User 98851-Apr-03 6:22
User 98851-Apr-03 6:22 
Generalcalling a DLL in VC++ Pin
Yank11-Apr-03 6:07
Yank11-Apr-03 6:07 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 7:49
geo_m1-Apr-03 7:49 
GeneralRe: calling a DLL in VC++ Pin
Anonymous1-Apr-03 8:05
Anonymous1-Apr-03 8:05 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 9:19
geo_m1-Apr-03 9:19 
QuestionEnumerating SCSI devices? Pin
dandy721-Apr-03 4:51
dandy721-Apr-03 4:51 
AnswerRe: Enumerating SCSI devices? Pin
FoxholeWilly28-Feb-07 8:56
FoxholeWilly28-Feb-07 8:56 
GeneralCombo Box Owner Drawn Pin
Anthony98871-Apr-03 4:43
Anthony98871-Apr-03 4:43 
GeneralRe: Combo Box Owner Drawn Pin
Dave Bryant1-Apr-03 9:15
Dave Bryant1-Apr-03 9:15 
GeneralRe: Combo Box Owner Drawn Pin
Anthony98872-Apr-03 3:56
Anthony98872-Apr-03 3:56 
GeneralStill trying to SetFocus() Pin
ns1-Apr-03 4:08
ns1-Apr-03 4:08 
QuestionHow to Disable F1 pass to CXXApp in pop up dialog? Pin
cadinfo1-Apr-03 3:51
cadinfo1-Apr-03 3:51 

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.