Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC question: Keeping a dialog in front Pin
Christian Graus18-Mar-01 21:02
protectorChristian Graus18-Mar-01 21:02 
GeneralRe: MFC question: Keeping a dialog in front Pin
19-Mar-01 0:28
suss19-Mar-01 0:28 
QuestionHow to Change the Caption of a CPropertyPage at run time ??? Pin
Ariel18-Mar-01 17:22
Ariel18-Mar-01 17:22 
AnswerRe: How to Change the Caption of a CPropertyPage at run time ??? Pin
Mike Melnikov19-Mar-01 2:41
Mike Melnikov19-Mar-01 2:41 
QuestionHow to Select a row in CListCtrl at run time ?? Pin
Ariel18-Mar-01 17:19
Ariel18-Mar-01 17:19 
AnswerRe: How to Select a row in CListCtrl at run time ?? Pin
Michael Dunn18-Mar-01 19:09
sitebuilderMichael Dunn18-Mar-01 19:09 
GeneralRe: How to Select a row in CListCtrl at run time ?? Pin
Ariel19-Mar-01 1:34
Ariel19-Mar-01 1:34 
GeneralProblems with FlexGridControl... Pin
Brendan Tregear18-Mar-01 11:47
Brendan Tregear18-Mar-01 11:47 
Hi
I'm using the MSHFlexiGridControl and want it to display the results of a query. But even though the query has more than one record, the MSHFlexiGridControl only shows one record. I've followed the MS example; making sure to call Refresh.

My code looks like:

<br />
	  pVisitRecordSet = pCommand->Execute(&vNull, &vNull, adCmdText); //pVisitRecordSet now has 3 records<br />
<br />
	  //! @todo Flex control only sets one record!<br />
<br />
	  m_FlexCtl.SetRefRecordset(pVisitRecordSet);<br />
<br />
	  //m_FlexCtl.SetRefDataSource(pVisitRecordSet);  //I've tried SetRefDataSource instead and it has the same result<br />
<br />
	  m_FlexCtl.Refresh();<br />


Thanks for any help. BTW.. For programming the ADO controls in C++ is it just a matter of reading any VB documentation we can find, or is there some C++ documentation out there?
GeneralVariant date's Pin
18-Mar-01 10:57
suss18-Mar-01 10:57 
GeneralRe: Variant date's Pin
Brendan Tregear18-Mar-01 11:41
Brendan Tregear18-Mar-01 11:41 
Questionhow to save my data in excel format file!? Pin
18-Mar-01 5:21
suss18-Mar-01 5:21 
AnswerRe: how to save my data in excel format file!? Pin
Tim Deveaux18-Mar-01 16:27
Tim Deveaux18-Mar-01 16:27 
AnswerRe: how to save my data in excel format file!? (again - oops) Pin
Tim Deveaux18-Mar-01 17:58
Tim Deveaux18-Mar-01 17:58 
AnswerRe: how to save my data in excel format file!? Pin
David Cunningham18-Mar-01 18:25
cofounderDavid Cunningham18-Mar-01 18:25 
GeneralRe: how to save my data in excel format file!? Pin
18-Mar-01 19:48
suss18-Mar-01 19:48 
Questionhow to Get ComputerName/user name? Pin
18-Mar-01 5:12
suss18-Mar-01 5:12 
AnswerRe: how to Get ComputerName/user name? Pin
19-Mar-01 2:14
suss19-Mar-01 2:14 
QuestionA General Question on Sound Programming? Pin
18-Mar-01 1:30
suss18-Mar-01 1:30 
AnswerRe: A General Question on Sound Programming? Pin
Christian Graus18-Mar-01 13:10
protectorChristian Graus18-Mar-01 13:10 
Generalhelp Pin
17-Mar-01 23:46
suss17-Mar-01 23:46 
GeneralRe: help Pin
Tim Deveaux18-Mar-01 3:38
Tim Deveaux18-Mar-01 3:38 
QuestionAny one can help me? Pin
17-Mar-01 18:22
suss17-Mar-01 18:22 
AnswerRe: Any one can help me? Pin
l a u r e n17-Mar-01 22:56
l a u r e n17-Mar-01 22:56 
GeneralRe: Any one can help me? Pin
Colin J Davies17-Mar-01 23:27
Colin J Davies17-Mar-01 23:27 
AnswerRe: Any one can help me? Pin
18-Mar-01 19:01
suss18-Mar-01 19:01 

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.