Click here to Skip to main content
15,914,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vc++ 6--add member function, using macros Pin
7stud2-Mar-03 15:20
7stud2-Mar-03 15:20 
GeneralRe: vc++ 6--add member function, using macros Pin
Christian Graus2-Mar-03 15:25
protectorChristian Graus2-Mar-03 15:25 
GeneralRe: vc++ 6--add member function, using macros Pin
7stud2-Mar-03 16:01
7stud2-Mar-03 16:01 
GeneralProblem with Radio Buttons Pin
Ph@ntom2-Mar-03 8:48
Ph@ntom2-Mar-03 8:48 
GeneralRe: Problem with Radio Buttons Pin
Chris Losinger2-Mar-03 9:23
professionalChris Losinger2-Mar-03 9:23 
GeneralRe: Problem with Radio Buttons Pin
Big Art2-Mar-03 9:39
Big Art2-Mar-03 9:39 
GeneralScroll Bar does NOT work... Pin
Jakob Bysewski2-Mar-03 7:09
Jakob Bysewski2-Mar-03 7:09 
GeneralRe: Scroll Bar does NOT work... Pin
PJ Arends2-Mar-03 8:23
professionalPJ Arends2-Mar-03 8:23 
Jakob Bysewski wrote:
When I try to create a new, or to open an existing document I get an "Debug Assertion Failed!" Error for File: wincore.cpp Line: 628

// from wincore.cpp
      void AFXAPI AfxHookWindowCreate(CWnd* pWnd)
      {
      ...
<font color="009900">628=></font> ASSERT(pWnd->m_hWnd == NULL);   // only do once

This tells you that you are trying to recreate a window that already exists. The reason it appears to work, and then not work, in release builds is because a release build does not do any of the ASSERT() checks. It just continues on it's merry way assuming everything is valid.

It may be alot easier for you if you use a CScrollView derived view class. CScrollView has all the scrolling functionality already built in.







Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Scroll Bar does NOT work... Pin
Jakob Bysewski2-Mar-03 10:11
Jakob Bysewski2-Mar-03 10:11 
QuestionHow to disable a control Pin
George Paris2-Mar-03 5:41
sussGeorge Paris2-Mar-03 5:41 
AnswerRe: How to disable a control Pin
NormDroid2-Mar-03 6:20
professionalNormDroid2-Mar-03 6:20 
GeneralNeed Add-In Wizard or sample code for visual c++.net Pin
Pepper232-Mar-03 5:14
Pepper232-Mar-03 5:14 
QuestionCSocket is bad? Pin
User 66582-Mar-03 4:53
User 66582-Mar-03 4:53 
AnswerRe: CSocket is bad? Pin
valikac2-Mar-03 7:57
valikac2-Mar-03 7:57 
QuestionHowto draw text in rectangle ? Pin
bumper2-Mar-03 4:29
bumper2-Mar-03 4:29 
AnswerRe: Howto draw text in rectangle ? Pin
NormDroid2-Mar-03 4:36
professionalNormDroid2-Mar-03 4:36 
GeneralRe: Howto draw text in rectangle ? Pin
bumper2-Mar-03 4:48
bumper2-Mar-03 4:48 
AnswerRe: Howto draw text in rectangle ? Pin
Michael Dunn2-Mar-03 5:24
sitebuilderMichael Dunn2-Mar-03 5:24 
GeneralRe: Howto draw text in rectangle ? Pin
bumper2-Mar-03 7:59
bumper2-Mar-03 7:59 
AnswerRe: Howto draw text in rectangle ? Pin
PJ Arends2-Mar-03 9:06
professionalPJ Arends2-Mar-03 9:06 
AnswerRe: Howto draw text in rectangle ? Pin
PJ Arends2-Mar-03 9:17
professionalPJ Arends2-Mar-03 9:17 
GeneralAnti-aliased line with GDI Pin
bumper2-Mar-03 4:21
bumper2-Mar-03 4:21 
GeneralRe: Anti-aliased line with GDI Pin
Anders Molin2-Mar-03 4:40
professionalAnders Molin2-Mar-03 4:40 
GeneralRe: Anti-aliased line with GDI Pin
bumper2-Mar-03 4:44
bumper2-Mar-03 4:44 
GeneralRe: Anti-aliased line with GDI Pin
tilliagain2-Mar-03 23:21
susstilliagain2-Mar-03 23:21 

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.