Click here to Skip to main content
16,018,664 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionchange of CStatic control background color. How ? Pin
sakthimuthu22-Feb-07 19:02
sakthimuthu22-Feb-07 19:02 
AnswerRe: change of CStatic control background color. How ? Pin
prasad_som22-Feb-07 19:07
prasad_som22-Feb-07 19:07 
GeneralRe: change of CStatic control background color. How ? Pin
sakthimuthu22-Feb-07 19:19
sakthimuthu22-Feb-07 19:19 
AnswerRe: change of CStatic control background color. How ? Pin
prasad_som22-Feb-07 19:27
prasad_som22-Feb-07 19:27 
GeneralRe: change of CStatic control background color. How ? Pin
sakthimuthu22-Feb-07 19:32
sakthimuthu22-Feb-07 19:32 
QuestionVC++ Pin
Rocky Oswal22-Feb-07 18:56
Rocky Oswal22-Feb-07 18:56 
AnswerRe: VC++ Pin
C Mahesh22-Feb-07 19:03
C Mahesh22-Feb-07 19:03 
QuestionProblem in dialog box scrolling [modified] Pin
C Mahesh22-Feb-07 17:58
C Mahesh22-Feb-07 17:58 
Hi, I have a dialog box which has vertical scroll style enabled. The problem is, when i pull the scroll button down the controls in the dialog box move down. But when i pull the scroll button up the controls does not move up. The code which i have used is listed below

void CMyPropertyDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
{
// TODO: Add your message handler code here and/or call default
CDialog::OnVScroll(nSBCode, nPos, pScrollBar);
SetScrollPos( SB_VERT , nPos , TRUE ) ;

ScrollWindow( 0 , GetScrollPos( SB_VERT ) ) ;

}

please help


-- modified at 0:03 Friday 23rd February, 2007
AnswerRe: Problem in dialog box scrolling Pin
MuraliKrishnaP22-Feb-07 20:41
MuraliKrishnaP22-Feb-07 20:41 
QuestionTimer configuration in VC++ Pin
shriram_ch22-Feb-07 16:53
shriram_ch22-Feb-07 16:53 
AnswerRe: Timer configuration in VC++ Pin
ThatsAlok22-Feb-07 17:33
ThatsAlok22-Feb-07 17:33 
GeneralRe: Timer configuration in VC++ Pin
#realJSOP22-Feb-07 23:34
professional#realJSOP22-Feb-07 23:34 
AnswerRe: Timer configuration in VC++ Pin
#realJSOP22-Feb-07 23:44
professional#realJSOP22-Feb-07 23:44 
AnswerRe: Timer configuration in VC++ Pin
cmk23-Feb-07 5:47
cmk23-Feb-07 5:47 
QuestionSocket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 8:59
FreeCastle22-Feb-07 8:59 
AnswerRe: Socket question: When does a client connect to a server? Pin
Mark Salsbery22-Feb-07 9:13
Mark Salsbery22-Feb-07 9:13 
GeneralRe: Socket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 9:57
FreeCastle22-Feb-07 9:57 
GeneralRe: Socket question: When does a client connect to a server? Pin
led mike22-Feb-07 10:02
led mike22-Feb-07 10:02 
GeneralRe: Socket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 10:07
FreeCastle22-Feb-07 10:07 
GeneralRe: Socket question: When does a client connect to a server? Pin
Mark Salsbery22-Feb-07 10:18
Mark Salsbery22-Feb-07 10:18 
GeneralRe: Socket question: When does a client connect to a server? Pin
FreeCastle22-Feb-07 11:12
FreeCastle22-Feb-07 11:12 
Questionproject on face detection using webcam.. Pin
mannur22-Feb-07 7:59
mannur22-Feb-07 7:59 
AnswerRe: project on face detection using webcam.. Pin
Chris Losinger22-Feb-07 10:31
professionalChris Losinger22-Feb-07 10:31 
QuestionPreventing Escape key from closing dialog window Pin
Neil scsn22-Feb-07 7:51
Neil scsn22-Feb-07 7:51 
AnswerRe: Preventing Escape key from closing dialog window [modified] Pin
Mark Salsbery22-Feb-07 8:35
Mark Salsbery22-Feb-07 8:35 

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.