Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Removing MFC classes, and replacing with ANSI C++ Pin
Fu Manchu22-May-08 3:38
Fu Manchu22-May-08 3:38 
Questionhow to implement the function as follow? Pin
ZhiLiangLin22-May-08 2:38
ZhiLiangLin22-May-08 2:38 
AnswerRe: how to implement the function as follow? Pin
CPallini22-May-08 2:49
mveCPallini22-May-08 2:49 
JokeRe: how to implement the function as follow? Pin
Hamid_RT22-May-08 4:17
Hamid_RT22-May-08 4:17 
GeneralRe: how to implement the function as follow? Pin
ThatsAlok16-Jul-09 20:40
ThatsAlok16-Jul-09 20:40 
AnswerRe: how to implement the function as follow? Pin
_AnsHUMAN_ 22-May-08 3:02
_AnsHUMAN_ 22-May-08 3:02 
GeneralRe: how to implement the function as follow? Pin
ZhiLiangLin22-May-08 15:00
ZhiLiangLin22-May-08 15:00 
Questionprogressindication Pin
Mohanraj D22-May-08 2:07
Mohanraj D22-May-08 2:07 
i did the following code for showing progress and status bar and while running the code the progress bar alone gets displayed first with the status pane empty,and the status bar gets displayed after that finally,i need the statusbar to display "scanning",along with progressbar,what should be done????

m_bar.Create(this); 
m_bar.SetIndicators(indicators,2); 
CRect rect;
GetClientRect(&rect);
    
    m_bar.SetPaneInfo(0,progressbarn, SBPS_NORMAL,rect.Width()-100);      
    m_bar.SetPaneInfo(1,progressbarm,SBPS_STRETCH ,0);

    RepositionBars(AFX_IDW_CONTROLBAR_FIRST,AFX_IDW_CONTROLBAR_LAST,
    progressbarn);

      CString s;
      s="scanning";
      m_bar.SetPaneText(0,s);

    pPrgCtrl->Create(WS_CHILD | WS_VISIBLE, CRect(10, 10, 288, 35), this,0x16);
   // Change parent of progress bar to status bar
    pPrgCtrl->SetParent(&m_bar);

    // Set up progressbar in the first pane
    CRect crPaneRect;
    m_bar.GetStatusBarCtrl().GetRect( 1, &crPaneRect );

      
    // Adjust rectangle, deflate a bit
    crPaneRect.DeflateRect( 0, 2, 2, 2 );
    // Move progress rectangle into position, i.e. into first pane of statusbar
    pPrgCtrl->MoveWindow( crPaneRect );

while(condition==success)
	    
 {
                

   	       while(pPrgCtrl->GetPos()<100)
             {
		             pPrgCtrl->StepIt();
	         }
	        break;


}


Raja

QuestionHow to find particular string and increment. Pin
manju#12322-May-08 1:07
manju#12322-May-08 1:07 
AnswerRe: How to find particular string and increment. Pin
Rajesh R Subramanian22-May-08 1:39
professionalRajesh R Subramanian22-May-08 1:39 
GeneralRe: How to find particular string and increment. Pin
Cedric Moonen22-May-08 1:43
Cedric Moonen22-May-08 1:43 
GeneralRe: How to find particular string and increment. Pin
manju#12322-May-08 1:56
manju#12322-May-08 1:56 
GeneralRe: How to find particular string and increment. Pin
Rajesh R Subramanian22-May-08 2:22
professionalRajesh R Subramanian22-May-08 2:22 
GeneralRe: How to find particular string and increment. Pin
manju#12322-May-08 2:30
manju#12322-May-08 2:30 
AnswerRe: How to find particular string and increment. Pin
CPallini22-May-08 1:48
mveCPallini22-May-08 1:48 
GeneralRe: How to find particular string and increment. Pin
manju#12322-May-08 2:02
manju#12322-May-08 2:02 
GeneralRe: How to find particular string and increment. Pin
CPallini22-May-08 2:13
mveCPallini22-May-08 2:13 
GeneralRe: How to find particular string and increment. Pin
manju#12322-May-08 2:15
manju#12322-May-08 2:15 
Questionhow to run ppp client through C++ code Pin
baseband22-May-08 0:58
baseband22-May-08 0:58 
Questioncan you solve this problem/error (its urgent) Pin
sumit.durg22-May-08 0:40
sumit.durg22-May-08 0:40 
AnswerRe: can you solve this problem/error (its urgent) Pin
_AnsHUMAN_ 22-May-08 0:49
_AnsHUMAN_ 22-May-08 0:49 
JokeRe: can you solve this problem/error (its urgent) Pin
Hamid_RT22-May-08 1:42
Hamid_RT22-May-08 1:42 
GeneralRe: can you solve this problem/error (its urgent) Pin
_AnsHUMAN_ 22-May-08 2:00
_AnsHUMAN_ 22-May-08 2:00 
AnswerRe: can you solve this problem/error (its urgent) Pin
Cedric Moonen22-May-08 0:49
Cedric Moonen22-May-08 0:49 
QuestionDialog: the limits Pin
tmaggioli22-May-08 0:31
tmaggioli22-May-08 0:31 

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.