Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 5:08
Kwanalouie17-Apr-08 5:08 
GeneralRe: Changing Window Main Frame Caption String Visual C++ Pin
David Crow17-Apr-08 5:19
David Crow17-Apr-08 5:19 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 6:30
Kwanalouie17-Apr-08 6:30 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 6:44
Kwanalouie17-Apr-08 6:44 
GeneralRe: Changing Window Main Frame Caption String Visual C++ Pin
David Crow17-Apr-08 6:52
David Crow17-Apr-08 6:52 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
led mike17-Apr-08 4:27
led mike17-Apr-08 4:27 
GeneralEdit in Flexgrid Pin
sunny_vc17-Apr-08 3:13
sunny_vc17-Apr-08 3:13 
GeneralRe: Edit in Flexgrid [modified] Pin
Eurosid17-Apr-08 4:54
Eurosid17-Apr-08 4:54 
Like this:
CEditWnd *pBox;
//Create the Edit box.  I don't show it here.

CSldFlexGrid objMyGrid;

long lHeight;
long lWidth;
long lCol;  //Set this to col you want to edit
long lRow;  //Set this to row you want to edit




// Get Coordinates and Width,Height of flexgrid cells
int nY   = objMyGrid.GetRowPos(lRow);
int nH   = objMyGrid.GetRowHeight(lRow);

// Get X-Coordinate and Width of flexgrid column
int nXBt = objMyGrid.GetColPos(lCol);
int nWBt = objMyGrid.GetColWidth(lCol,0);

// Get the Grid Rectangle

//Convert nXBt to pixels.
//Convert nY to pixels.
//Convert nWBt to pixels.
//Convert nH to pixels.

CRect NewListRect(nXBt, nY, nXBt+nWBt, nY+nH);

pBox->MoveWindow(NewListRect);
pBox->ShowWindow(SW_SHOW);
pBox->SetFocus();


I hope that helps.

modified on Thursday, April 17, 2008 11:00 AM

Questionwhat is AFX_OLDPROPSHEETHEADER and GetPropSheetHeader()? Pin
Nikesh Jagtap17-Apr-08 2:59
Nikesh Jagtap17-Apr-08 2:59 
AnswerRe: what is AFX_OLDPROPSHEETHEADER and GetPropSheetHeader()? Pin
Moak17-Apr-08 3:13
Moak17-Apr-08 3:13 
AnswerRe: what is AFX_OLDPROPSHEETHEADER and GetPropSheetHeader()? Pin
David Crow17-Apr-08 3:51
David Crow17-Apr-08 3:51 
GeneralProblems converting from VC++ 4.2 to VC++ 2005 Pin
Paul Hager17-Apr-08 2:36
Paul Hager17-Apr-08 2:36 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
Maximilien17-Apr-08 2:53
Maximilien17-Apr-08 2:53 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
Paul Hager17-Apr-08 8:20
Paul Hager17-Apr-08 8:20 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
Iain Clarke, Warrior Programmer17-Apr-08 3:25
Iain Clarke, Warrior Programmer17-Apr-08 3:25 
GeneralRe: Problems converting from VC++ 4.2 to VC++ 2005 Pin
jhwurmbach17-Apr-08 4:57
jhwurmbach17-Apr-08 4:57 
Questionhow to convert bytes array into int Pin
huma satti17-Apr-08 1:37
huma satti17-Apr-08 1:37 
AnswerRe: how to convert bytes array into int Pin
Iain Clarke, Warrior Programmer17-Apr-08 1:57
Iain Clarke, Warrior Programmer17-Apr-08 1:57 
QuestionRe: how to convert bytes array into int Pin
CPallini17-Apr-08 2:06
mveCPallini17-Apr-08 2:06 
GeneralRe: how to convert bytes array into int Pin
Iain Clarke, Warrior Programmer17-Apr-08 3:14
Iain Clarke, Warrior Programmer17-Apr-08 3:14 
AnswerRe: how to convert bytes array into int Pin
Cedric Moonen17-Apr-08 2:00
Cedric Moonen17-Apr-08 2:00 
AnswerRe: how to convert bytes array into int [modified] Pin
CPallini17-Apr-08 2:01
mveCPallini17-Apr-08 2:01 
AnswerRe: how to convert bytes array into int Pin
krmed17-Apr-08 7:17
krmed17-Apr-08 7:17 
GeneralGetting crash report from freezed program Pin
rrrado16-Apr-08 23:36
rrrado16-Apr-08 23:36 
GeneralRe: Getting crash report from freezed program Pin
James R. Twine17-Apr-08 8:02
James R. Twine17-Apr-08 8:02 

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.