Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Read from file question ... Pin
AlexMarbus8-Apr-01 3:31
AlexMarbus8-Apr-01 3:31 
GeneralRe: Read from file question ... Pin
Hadi Rezaee8-Apr-01 3:48
Hadi Rezaee8-Apr-01 3:48 
GeneralRe: Read from file question ... Pin
AlexMarbus8-Apr-01 6:08
AlexMarbus8-Apr-01 6:08 
GeneralRe: Read from file question ... Pin
Hadi Rezaee8-Apr-01 6:52
Hadi Rezaee8-Apr-01 6:52 
GeneralRe: Read from file question ... Pin
Dharne Atul8-Apr-01 8:33
Dharne Atul8-Apr-01 8:33 
QuestionCListCtrl - Delete Selected Items??? Pin
Ryan Baillargeon7-Apr-01 22:04
Ryan Baillargeon7-Apr-01 22:04 
AnswerRe: CListCtrl - Delete Selected Items??? Pin
AlexMarbus8-Apr-01 3:37
AlexMarbus8-Apr-01 3:37 
GeneralRe: CListCtrl - Still Not Working... Pin
Ryan Baillargeon8-Apr-01 6:24
Ryan Baillargeon8-Apr-01 6:24 
Thats what my code looks like exactly except for a TRACE I did on Position to Check for NULL.
However, I did use your code exactly and my problem still remains. I am only deleteing every other
Item that is selected, SO if I am deleteing item 123456 which are all selected using that code above leaves
246 intact and still selected. Am I a BOOB? This is irking me especially since its one of my last bugs, and I cant implement anything else until this is solved.

Here Ill even copy out my code for you.
I really need help on this.

void CChildView::OnRemItems()
{
POSITION pos = m_SpewWnd.QueueView.GetFirstSelectedItemPosition();

while (pos != NULL)
{
int nItem=m_SpewWnd.QueueView.GetNextSelectedItem(pos);
m_SpewWnd.QueueView.DeleteItem(nItem);
}
Invalidate();
}

Maybe you could also tell me how to get that code selected while posting..
=)


recurse.org - Recusion For the Rest Of Us.
GeneralRe: CListCtrl - Still Not Working... Pin
Michael Dunn8-Apr-01 8:24
sitebuilderMichael Dunn8-Apr-01 8:24 
GeneralEVERYTHING IS JUST FINE NOW Pin
Ryan Baillargeon8-Apr-01 10:44
Ryan Baillargeon8-Apr-01 10:44 
GeneralRe: CListCtrl - Still Not Working... Pin
Frank Deo1-Aug-01 10:28
Frank Deo1-Aug-01 10:28 
GeneralRe: CListCtrl - Delete Selected Items??? Pin
Ryan Baillargeon8-Apr-01 6:56
Ryan Baillargeon8-Apr-01 6:56 
Generaldetect wince hybernation Pin
7-Apr-01 9:11
suss7-Apr-01 9:11 
GeneralRe: detect wince hybernation Pin
Anders Molin8-Apr-01 3:28
professionalAnders Molin8-Apr-01 3:28 
QuestionHow do I read raw data from a HD Pin
Ben Burnett7-Apr-01 9:05
Ben Burnett7-Apr-01 9:05 
AnswerRe: How do I read raw data from a HD Pin
Michael Dunn7-Apr-01 9:21
sitebuilderMichael Dunn7-Apr-01 9:21 
GeneralRe: How do I read raw data from a HD Pin
Ben Burnett7-Apr-01 9:40
Ben Burnett7-Apr-01 9:40 
GeneralCFile and my class Pin
Ahmad6-Apr-01 23:39
Ahmad6-Apr-01 23:39 
GeneralRe: CFile and my class Pin
AlexMarbus7-Apr-01 6:16
AlexMarbus7-Apr-01 6:16 
GeneralRe: CFile and my class Pin
Michael Dunn7-Apr-01 9:24
sitebuilderMichael Dunn7-Apr-01 9:24 
QuestionDLL newing objects on process heap? Pin
6-Apr-01 16:19
suss6-Apr-01 16:19 
AnswerRe: DLL newing objects on process heap? Pin
Michael Dunn6-Apr-01 18:48
sitebuilderMichael Dunn6-Apr-01 18:48 
GeneralRe: DLL newing objects on process heap? Pin
7-Apr-01 6:52
suss7-Apr-01 6:52 
AnswerRe: DLL newing objects on process heap? Pin
Tim Deveaux7-Apr-01 13:37
Tim Deveaux7-Apr-01 13:37 
QuestionDirectDraw in a CView -> possible? Pin
Michael Menne6-Apr-01 14:20
Michael Menne6-Apr-01 14:20 

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.