Click here to Skip to main content
15,917,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Resource header Pin
Zizilamoroso26-Sep-02 12:57
Zizilamoroso26-Sep-02 12:57 
GeneralRe: Resource header Pin
Zizilamoroso26-Sep-02 6:32
Zizilamoroso26-Sep-02 6:32 
GeneralRe: Resource header Pin
Gary R. Wheeler29-Sep-02 6:01
Gary R. Wheeler29-Sep-02 6:01 
GeneralCopy of files from one folder to another Pin
Cintch26-Sep-02 6:08
Cintch26-Sep-02 6:08 
GeneralRe: Copy of files from one folder to another Pin
Tomasz Sowinski26-Sep-02 6:15
Tomasz Sowinski26-Sep-02 6:15 
GeneralForm Scrolling Problem Pin
RuiSantiago26-Sep-02 5:53
RuiSantiago26-Sep-02 5:53 
GeneralRe: Form Scrolling Problem Pin
lucy26-Sep-02 9:25
lucy26-Sep-02 9:25 
GeneralRe: Form Scrolling Problem Pin
RuiSantiago26-Sep-02 23:57
RuiSantiago26-Sep-02 23:57 
Thank you Lucy, i tried your suggestion, i did like:

CRect myRect;
CSize mySizOMG | :OMG: e;

this->GetClientRect(&myRect);
mySize=myRect.Size();

for (int i=0;i<100;i++)
{
caramba[i] = new CStatic;
g.Format("%d", i);
caramba[i]->Create(g, WS_CHILD|WS_VISIBLE|SS_CENTER|WS_BORDER, CRect(10, i*10, 120, i*10+50), this);
myRect.bottom+=20;
}
MoveWindow(myRect.left, myRect.top, myRect.right, myRect.bottom);

this->GetParentFrame()->RecalcLayout();
this->SetScrollSizes(MM_TEXT, mySize);
this->ShowScrollBar(SB_VERT, TRUE);

this->SetScaleToFitSize(mySize);

Even using SetScrollSizes and ShowScroll after RecalcLayout, it apears for half a second or something, and then disapears again.

I tried SetScaleToFitSize and it did not improve

Why does this appends?

Thank you in advance
GeneralRe: Form Scrolling Problem Pin
lucy27-Sep-02 2:27
lucy27-Sep-02 2:27 
GeneralRe: Form Scrolling Problem Pin
RuiSantiago27-Sep-02 3:52
RuiSantiago27-Sep-02 3:52 
Questionhow to terminate a dll? Pin
ns26-Sep-02 5:36
ns26-Sep-02 5:36 
AnswerRe: how to terminate a dll? Pin
Zizilamoroso26-Sep-02 6:15
Zizilamoroso26-Sep-02 6:15 
GeneralRe: how to terminate a dll? Pin
ns26-Sep-02 6:22
ns26-Sep-02 6:22 
AnswerRe: how to terminate a dll? Pin
Tomasz Sowinski26-Sep-02 6:32
Tomasz Sowinski26-Sep-02 6:32 
Generalthanks Pin
ns26-Sep-02 6:43
ns26-Sep-02 6:43 
QuestionHow can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
ATC26-Sep-02 5:06
ATC26-Sep-02 5:06 
AnswerRe: How can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
Daniel Ferguson26-Sep-02 5:14
Daniel Ferguson26-Sep-02 5:14 
GeneralRe: How can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
ATC26-Sep-02 7:25
ATC26-Sep-02 7:25 
AnswerRe: How can VC++ setup DrawText with TabStop with 7 character & DT_EXPANTABS? Pin
Tomasz Sowinski26-Sep-02 5:18
Tomasz Sowinski26-Sep-02 5:18 
GeneralRe: where did you get this (0x0700 | DT_EXPANDTABS) stuff? Pin
Anh26-Sep-02 6:14
Anh26-Sep-02 6:14 
GeneralRe: where did you get this (0x0700 | DT_EXPANDTABS) stuff? Pin
Tomasz Sowinski26-Sep-02 6:24
Tomasz Sowinski26-Sep-02 6:24 
GeneralRe: It works beautifully, thanks! Pin
ATC26-Sep-02 7:17
ATC26-Sep-02 7:17 
GeneralMSChart control Pin
Kash26-Sep-02 4:57
Kash26-Sep-02 4:57 
GeneralRe: MSChart control Pin
Tomasz Sowinski26-Sep-02 5:05
Tomasz Sowinski26-Sep-02 5:05 
GeneralSDI, PropertySheets with DesktopParent and Modal Dialogs Pin
MarinaParamonov26-Sep-02 4:57
MarinaParamonov26-Sep-02 4:57 

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.