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

C / C++ / MFC

 
GeneralRe: Include headers Pin
Hamid_RT30-Aug-09 22:53
Hamid_RT30-Aug-09 22:53 
QuestionOvercoming problem with std::min, std::max, #define NOMINMAX Pin
Sternocera30-Aug-09 9:02
Sternocera30-Aug-09 9:02 
AnswerRe: Overcoming problem with std::min, std::max, #define NOMINMAX Pin
Richard Andrew x6430-Aug-09 11:34
professionalRichard Andrew x6430-Aug-09 11:34 
GeneralRe: Overcoming problem with std::min, std::max, #define NOMINMAX Pin
Sternocera30-Aug-09 11:43
Sternocera30-Aug-09 11:43 
GeneralRe: Overcoming problem with std::min, std::max, #define NOMINMAX Pin
Sternocera30-Aug-09 12:50
Sternocera30-Aug-09 12:50 
GeneralRe: Overcoming problem with std::min, std::max, #define NOMINMAX Pin
Richard Andrew x6430-Aug-09 13:08
professionalRichard Andrew x6430-Aug-09 13:08 
AnswerRe: Overcoming problem with std::min, std::max, #define NOMINMAX Pin
Stuart Dootson30-Aug-09 13:21
professionalStuart Dootson30-Aug-09 13:21 
GeneralRe: Overcoming problem with std::min, std::max, #define NOMINMAX Pin
Member 1235294525-Oct-20 4:58
Member 1235294525-Oct-20 4:58 
GeneralRe: Overcoming problem with std::min, std::max, #define NOMINMAX Pin
Stuart Dootson25-Oct-20 8:19
professionalStuart Dootson25-Oct-20 8:19 
QuestionDrawShadowText Pin
thanhvinh090630-Aug-09 8:29
thanhvinh090630-Aug-09 8:29 
AnswerRe: DrawShadowText Pin
Code-o-mat30-Aug-09 9:31
Code-o-mat30-Aug-09 9:31 
AnswerRe: DrawShadowText Pin
kilt3-Sep-09 4:39
kilt3-Sep-09 4:39 
QuestionCDC::DrawState [modified] Pin
thanhvinh090630-Aug-09 8:25
thanhvinh090630-Aug-09 8:25 
AnswerRe: CDC::DrawState Pin
«_Superman_»30-Aug-09 18:17
professional«_Superman_»30-Aug-09 18:17 
Questionhow to make a graphical text editor using c++??? Pin
mukulbawa30-Aug-09 8:18
mukulbawa30-Aug-09 8:18 
AnswerRe: how to make a graphical text editor using c++??? Pin
Richard Andrew x6430-Aug-09 10:12
professionalRichard Andrew x6430-Aug-09 10:12 
GeneralRe: how to make a graphical text editor using c++??? Pin
mukulbawa30-Aug-09 10:33
mukulbawa30-Aug-09 10:33 
GeneralRe: how to make a graphical text editor using c++??? Pin
Richard Andrew x6430-Aug-09 10:37
professionalRichard Andrew x6430-Aug-09 10:37 
GeneralRe: how to make a graphical text editor using c++??? Pin
Joe Woodbury30-Aug-09 11:35
professionalJoe Woodbury30-Aug-09 11:35 
GeneralRe: how to make a graphical text editor using c++??? Pin
mukulbawa31-Aug-09 7:47
mukulbawa31-Aug-09 7:47 
QuestionTO place SetCaretPos at The end of the text Pin
prithaa30-Aug-09 7:30
prithaa30-Aug-09 7:30 
GeneralRe: TO place SetCaretPos at The end of the text Pin
msn9230-Aug-09 8:17
msn9230-Aug-09 8:17 
GeneralRe: TO place SetCaretPos at The end of the text Pin
prithaa30-Aug-09 19:04
prithaa30-Aug-09 19:04 
Questionhow can i exit the program entirely? Pin
Member 3121930-Aug-09 3:45
Member 3121930-Aug-09 3:45 
my program is the following
int m_nCurFrame;// extract the current frame from avi file
int m_nMax; //total frames in the avi file
BOOL bb;

CXXView::CXXView
{
bb = FALSE;
}

void CXXView::OnAutoProcessing()
{
while (m_nCurFrame++ <m_nMax)
{
if(bb)
{
break;
}
.......//procesing
}
}

~CXXView::CXXView
{
bb = TRUE;
}

when i exit this program, the program enter the ~CXXView, then enter OnAutoProcessing(),because the object is dead,so the program is wrong,but i want to exit the programentoirly,can you give me some advices?
thanks!!!!!!

In near day,I want to change the TITLEBARINFO of my Program?
My code is following:
#include "winuser.h"
...........
...........
TITLEBARINFO bti;
bti.cbSize = sizeof(TITLBARINFO);
GetTitleBarInfo(GetParent()->m_hWnd,&bti);

But i can't compile these codes,can you tell me how to do?
My program is developed by VC++6.0 under Winxp.

AnswerRe: how can i exit the program entirely? Pin
Iain Clarke, Warrior Programmer30-Aug-09 5:18
Iain Clarke, Warrior Programmer30-Aug-09 5:18 

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.