Click here to Skip to main content
15,888,221 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Polymorphic pointer points to what? Pin
Stephen Hewitt17-May-06 13:52
Stephen Hewitt17-May-06 13:52 
QuestionWSAGetLastError() 10061 with connect() Pin
Just Baballa17-May-06 1:12
Just Baballa17-May-06 1:12 
JokeRe: WSAGetLastError() 10061 with connect() Pin
RicoH17-May-06 4:11
RicoH17-May-06 4:11 
QuestionRegarding timers Pin
Raja Bose C Leo17-May-06 1:04
Raja Bose C Leo17-May-06 1:04 
AnswerRe: Regarding timers Pin
Cedric Moonen17-May-06 1:11
Cedric Moonen17-May-06 1:11 
AnswerRe: Regarding timers Pin
Sarath C17-May-06 1:15
Sarath C17-May-06 1:15 
GeneralRe: Regarding timers Pin
Raja Bose C Leo17-May-06 2:06
Raja Bose C Leo17-May-06 2:06 
QuestionCScrollView client area update child controls Pin
NovativeDesign17-May-06 1:02
NovativeDesign17-May-06 1:02 
Hi out there !

I am currently writing a tab control view that allows for the dynamic appending of other CWnd* based widgets on each tab. On appending, a small header bar is assigned to each widget, which makes the widget collapsible, basically turning the widget into a rollout-like control.

The structure then is as follows :

CTabView (derived from CCtrlView)
|
|- CTab (derived from CScrollView)
|
|- CTabElement (derived from CWnd*)
| |
| |- CWnd* widget
|
|- CTabElement
| |
| |- CWnd* widget
|

The two things I am most concerned about are :
  • Though I create the CTabElements with CTab as its parent, I need to manually call their OnPaint-methods in the OnDraw-Method of my CTab, shouldn't MFC do this automatically ?
  • When scrolling sets in I am only able to properly update the original view content, i.e. the part of the screen that shows when the scroll position is (0,0).


Possibly those problems are closely related, but because I am pretty new to MFC, i have not yet managed to find the particalur point where I made the misstake.

Maybe someone can give me a hint,

thanks in advance,

Christian
QuestionA difficult question for me to resolve about C++ and Access datetime type Pin
fyr00000017-May-06 0:57
fyr00000017-May-06 0:57 
AnswerRe: A difficult question for me to resolve about C++ and Access datetime type Pin
Cedric Moonen17-May-06 1:08
Cedric Moonen17-May-06 1:08 
AnswerRe: A difficult question for me to resolve about C++ and Access datetime type Pin
Hamid_RT17-May-06 1:17
Hamid_RT17-May-06 1:17 
AnswerRe: A difficult question for me to resolve about C++ and Access datetime type Pin
fyr00000017-May-06 1:23
fyr00000017-May-06 1:23 
GeneralRe: A difficult question for me to resolve about C++ and Access datetime type Pin
fyr00000017-May-06 18:37
fyr00000017-May-06 18:37 
AnswerRe: A difficult question for me to resolve about C++ and Access datetime type Pin
ThatsAlok17-May-06 2:07
ThatsAlok17-May-06 2:07 
QuestionRe: A difficult question for me to resolve about C++ and Access datetime type Pin
David Crow17-May-06 3:17
David Crow17-May-06 3:17 
Questionhow to send HTTPS request to a servlet from vc++ Pin
gbabu1717-May-06 0:42
gbabu1717-May-06 0:42 
AnswerRe: how to send HTTPS request to a servlet from vc++ Pin
surfman1917-May-06 22:54
surfman1917-May-06 22:54 
QuestionI want to run my application as hidden( like Windows Service) Pin
zahid_ash17-May-06 0:36
zahid_ash17-May-06 0:36 
AnswerRe: I want to run my application as hidden( like Windows Service) Pin
Hamid_RT17-May-06 1:14
Hamid_RT17-May-06 1:14 
AnswerRe: I want to run my application as hidden( like Windows Service) Pin
Ryan Binns17-May-06 1:35
Ryan Binns17-May-06 1:35 
GeneralRe: I want to run my application as hidden( like Windows Service) Pin
zahid_ash17-May-06 1:49
zahid_ash17-May-06 1:49 
AnswerRe: I want to run my application as hidden( like Windows Service) Pin
David Crow17-May-06 3:19
David Crow17-May-06 3:19 
QuestionDifference between WIN32 Application and WIN32 Console Application wizard Pin
zahid_ash16-May-06 23:57
zahid_ash16-May-06 23:57 
AnswerRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
_AnsHUMAN_ 17-May-06 0:02
_AnsHUMAN_ 17-May-06 0:02 
GeneralRe: Difference between WIN32 Application and WIN32 Console Application wizard Pin
zahid_ash17-May-06 0:17
zahid_ash17-May-06 0:17 

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.