Click here to Skip to main content
16,011,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PumpMessage Question Pin
David Crow2-Feb-07 2:56
David Crow2-Feb-07 2:56 
AnswerRe: PumpMessage Question Pin
Waldermort2-Feb-07 2:48
Waldermort2-Feb-07 2:48 
GeneralRe: PumpMessage Question Pin
Andy2032-Feb-07 9:25
Andy2032-Feb-07 9:25 
QuestionBasic MFC questions.. Pin
Sameer_Thakur2-Feb-07 1:12
Sameer_Thakur2-Feb-07 1:12 
AnswerRe: Basic MFC questions.. Pin
led mike2-Feb-07 5:05
led mike2-Feb-07 5:05 
AnswerRe: Basic MFC questions.. Pin
prasad_som2-Feb-07 7:15
prasad_som2-Feb-07 7:15 
QuestionRe: Basic MFC questions.. Pin
Hamid_RT3-Feb-07 5:32
Hamid_RT3-Feb-07 5:32 
Questiondeleting the multiple rows in Grid Pin
reddy harish2-Feb-07 0:20
reddy harish2-Feb-07 0:20 
Hi Iam using Grid control in my application.
how to delete the multiple rows in the Grid.
currently if i select multiple rows to delete but the last selected row is getting deleted.here iam sending the code what i have used to delete the rows.but it is working

pls any body can help in this
CCellRange cRange;
int nCount = 0;
UINT unSel = 0;
INT_PTR nSelctedDMItemsCount = 0;
cRange = m_Grid.GetSelectedCellRange();
nCount = cRange.GetMaxRow();
bool bFlag = false;
for(int nDMIdx = 1;nDMIdx < nCount;nDMIdx++)
{
bFlag =false;
bFlag = m_Grid.IsCellSelected(nDMIdx,0);
if(bFlag )
{
m_Grid.DeleteRow( nDMIdx );

}
}
AnswerRe: deleting the multiple rows in Grid Pin
led mike2-Feb-07 5:05
led mike2-Feb-07 5:05 
GeneralRe: deleting the multiple rows in Grid Pin
reddy harish4-Feb-07 19:03
reddy harish4-Feb-07 19:03 
AnswerRe: deleting the multiple rows in Grid Pin
Hamid_RT3-Feb-07 5:33
Hamid_RT3-Feb-07 5:33 
QuestionHow to remove the AM/PM text in CDateTimeCtrl ? Pin
Hemant kulkarni1-Feb-07 23:19
Hemant kulkarni1-Feb-07 23:19 
AnswerRe: How to remove the AM/PM text in CDateTimeCtrl ? Pin
Naveen2-Feb-07 0:54
Naveen2-Feb-07 0:54 
GeneralRe: How to remove the AM/PM text in CDateTimeCtrl ? Pin
Hemant kulkarni2-Feb-07 2:19
Hemant kulkarni2-Feb-07 2:19 
QuestionVC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer1-Feb-07 23:11
Alex Aimer1-Feb-07 23:11 
AnswerRe: VC++ 2005 iostream input problem for unsigned int Pin
Mark Salsbery2-Feb-07 5:48
Mark Salsbery2-Feb-07 5:48 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer2-Feb-07 11:51
Alex Aimer2-Feb-07 11:51 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
cp98762-Feb-07 23:22
cp98762-Feb-07 23:22 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer5-Feb-07 6:35
Alex Aimer5-Feb-07 6:35 
Questiontime Pin
ikbahrian1-Feb-07 23:04
ikbahrian1-Feb-07 23:04 
AnswerRe: time Pin
_AnsHUMAN_ 1-Feb-07 23:21
_AnsHUMAN_ 1-Feb-07 23:21 
GeneralRe: time Pin
ikbahrian2-Feb-07 4:46
ikbahrian2-Feb-07 4:46 
QuestionSwap Bytes Pin
Aint1-Feb-07 23:01
Aint1-Feb-07 23:01 
AnswerRe: Swap Bytes Pin
Christian Graus1-Feb-07 23:31
protectorChristian Graus1-Feb-07 23:31 
GeneralRe: Swap Bytes Pin
Aint2-Feb-07 2:00
Aint2-Feb-07 2:00 

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.