Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDC and transparent blitting Pin
John R. Shaw30-May-05 14:27
John R. Shaw30-May-05 14:27 
Generaldata not accepted Pin
anup nambiar29-May-05 4:04
anup nambiar29-May-05 4:04 
GeneralRe: data not accepted Pin
Christian Graus29-May-05 12:11
protectorChristian Graus29-May-05 12:11 
GeneralRe: data not accepted Pin
trelliot29-May-05 14:29
trelliot29-May-05 14:29 
GeneralRe: data not accepted Pin
anup nambiar29-May-05 20:41
anup nambiar29-May-05 20:41 
GeneralRe: data not accepted Pin
trelliot29-May-05 16:37
trelliot29-May-05 16:37 
GeneralFinding GUID of a driver Pin
Franz Klein29-May-05 3:20
Franz Klein29-May-05 3:20 
GeneralHandling horizontal vertical scrolls Pin
laiju29-May-05 1:06
laiju29-May-05 1:06 
Iam using MDI Doc - View Architecture . Iam creating MDI child windows at run time .But these child windows are not enabled for scrolling.
I did the following to enable the scroll bars.

BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs
if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;
cs.style = WS_CHILD|WS_OVERLAPPEDWINDOW|WS_CAPTION|WS_MINIMIZEBOX|WS_SIZEBOX|WS_VSCROLL|WS_HSCROLL;
//cs.dwExStyle = WS_EX_RIGHTSCROLLBAR;
return TRUE;
}
The first problem is that doing this causes the title of the child windows to vanish. But the scrolls are enabled.

Now the second problem is do I need to override the OnVScroll() and OnHScroll() functions to implement scrolling .If so how please let me know.

laiju
GeneralRe: Handling horizontal vertical scrolls Pin
trelliot29-May-05 15:23
trelliot29-May-05 15:23 
GeneralRe: Handling horizontal vertical scrolls Pin
Ryan Binns29-May-05 18:59
Ryan Binns29-May-05 18:59 
GeneralRe: Handling horizontal vertical scrolls Pin
John R. Shaw30-May-05 14:42
John R. Shaw30-May-05 14:42 
Questionhow to set timeout value in programm using csocket class ? Pin
NPDemon28-May-05 22:23
NPDemon28-May-05 22:23 
AnswerRe: how to set timeout value in programm using csocket class ? Pin
Alexander M.,29-May-05 2:34
Alexander M.,29-May-05 2:34 
AnswerRe: how to set timeout value in programm using csocket class ? Pin
ThatsAlok29-May-05 17:45
ThatsAlok29-May-05 17:45 
QuestionWhat View type for a "log view" Pin
Member 198398528-May-05 17:03
Member 198398528-May-05 17:03 
AnswerRe: What View type for a "log view" Pin
Ravi Bhavnani28-May-05 18:14
professionalRavi Bhavnani28-May-05 18:14 
Generalhelp me!i need a system of personal assistant like ATnotes.3q! Pin
kenwood198328-May-05 16:49
kenwood198328-May-05 16:49 
GeneralRe: help me!i need a system of personal assistant like ATnotes.3q! Pin
Christian Graus29-May-05 0:34
protectorChristian Graus29-May-05 0:34 
QuestionWhat does "far" mean? Pin
Link260028-May-05 15:07
Link260028-May-05 15:07 
AnswerRe: What does "far" mean? Pin
David Crow28-May-05 16:36
David Crow28-May-05 16:36 
GeneralRe: What does "far" mean? Pin
Link260028-May-05 17:35
Link260028-May-05 17:35 
GeneralRe: What does "far" mean? Pin
Michael Dunn28-May-05 18:24
sitebuilderMichael Dunn28-May-05 18:24 
GeneralRe: What does "far" mean? Pin
Ravi Bhavnani28-May-05 18:27
professionalRavi Bhavnani28-May-05 18:27 
GeneralRe: What does "far" mean? Pin
Ryan Binns29-May-05 19:05
Ryan Binns29-May-05 19:05 
GeneralRe: What does "far" mean? Pin
Blake Miller31-May-05 6:30
Blake Miller31-May-05 6:30 

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.