Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get deleted files Pin
sp_ranjan14-May-06 18:22
sp_ranjan14-May-06 18:22 
QuestionMORTGAGE PROGRAM Pin
DARJA- mortgage program13-May-06 9:17
DARJA- mortgage program13-May-06 9:17 
AnswerRe: MORTGAGE PROGRAM Pin
PJ Arends13-May-06 10:08
professionalPJ Arends13-May-06 10:08 
GeneralRe: MORTGAGE PROGRAM Pin
DARJA- mortgage program13-May-06 10:33
DARJA- mortgage program13-May-06 10:33 
QuestionHow to check cell int he MFC Grid Ctrl state when it is checkbox? Pin
mwybranczyk13-May-06 7:40
mwybranczyk13-May-06 7:40 
AnswerRe: How to check cell int he MFC Grid Ctrl state when it is checkbox? Pin
PJ Arends13-May-06 8:44
professionalPJ Arends13-May-06 8:44 
GeneralRe: How to check cell int he MFC Grid Ctrl state when it is checkbox? Pin
mwybranczyk13-May-06 9:23
mwybranczyk13-May-06 9:23 
GeneralRe: How to check cell int he MFC Grid Ctrl state when it is checkbox? Pin
PJ Arends13-May-06 9:55
professionalPJ Arends13-May-06 9:55 
The CGridCellCheck check class has a GetCheck() member that you can call.
BOOL IsCellChecked(CGridCtrl &Grid, int row, int col)
{ 
   // Get the check state of a cell
   BOOL IsChecked = FALSE;
 
   // first we get a pointer to the cell
   CGridCell *pCell = Grid.GetCell(row, col);
 
   if (pCell != NULL)
   {
      // is the cell a checkbox cell
      CGridCellCheck *pCheck = dynamic_cast<CGridCellCheck *>(pCell);
 
      if (pCheck != NULL)
      {
         // we have a checkbox cell
         IsChecked = pCheck->GetCheck();
      }
   }
 
   return IsChecked;
}




You may be right
I may be crazy
-- Billy Joel --


Within you lies the power for good - Use it!
QuestionUsing DrawImage(Image *, 0, 0) - Picture is too big Pin
1980soyo13-May-06 5:34
1980soyo13-May-06 5:34 
AnswerRe: Using DrawImage(Image *, 0, 0) - Picture is too big Pin
PJ Arends13-May-06 8:32
professionalPJ Arends13-May-06 8:32 
GeneralRe: Using DrawImage(Image *, 0, 0) - Picture is too big Pin
1980soyo13-May-06 11:27
1980soyo13-May-06 11:27 
AnswerRe: Using DrawImage(Image *, 0, 0) - Picture is too big Pin
ThatsAlok14-May-06 20:23
ThatsAlok14-May-06 20:23 
AnswerRe: Using DrawImage(Image *, 0, 0) - Picture is too big Pin
Hamid_RT15-May-06 19:17
Hamid_RT15-May-06 19:17 
QuestionMake toolbars undockable Pin
Kleser13-May-06 4:51
Kleser13-May-06 4:51 
AnswerRe: Make toolbars undockable Pin
PJ Arends13-May-06 8:56
professionalPJ Arends13-May-06 8:56 
AnswerRe: Make toolbars undockable Pin
Hamid_RT13-May-06 9:27
Hamid_RT13-May-06 9:27 
AnswerRe: Make toolbars undockable Pin
ThatsAlok14-May-06 22:22
ThatsAlok14-May-06 22:22 
Question2 modems connection Pin
amir hossein malakouti13-May-06 2:36
amir hossein malakouti13-May-06 2:36 
AnswerRe: 2 modems connection Pin
Mohammad Tarik13-May-06 12:55
Mohammad Tarik13-May-06 12:55 
Questiontrouble with calculations Pin
lindag178313-May-06 2:30
lindag178313-May-06 2:30 
AnswerRe: trouble with calculations Pin
Justin Tay13-May-06 2:56
Justin Tay13-May-06 2:56 
GeneralRe: trouble with calculations Pin
lindag178313-May-06 15:10
lindag178313-May-06 15:10 
AnswerRe: trouble with calculations Pin
Gary R. Wheeler13-May-06 3:04
Gary R. Wheeler13-May-06 3:04 
GeneralRe: trouble with calculations Pin
lindag178313-May-06 15:16
lindag178313-May-06 15:16 
GeneralRe: trouble with calculations Pin
Gary R. Wheeler14-May-06 1:27
Gary R. Wheeler14-May-06 1:27 

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.