Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Edit Box Pin
Hamid_RT21-May-06 22:29
Hamid_RT21-May-06 22:29 
AnswerRe: Edit Box Pin
eli1502197921-May-06 22:32
eli1502197921-May-06 22:32 
AnswerRe: Edit Box Pin
Laxman Auti21-May-06 22:49
Laxman Auti21-May-06 22:49 
AnswerRe: Edit Box Pin
VinayCool21-May-06 23:05
VinayCool21-May-06 23:05 
AnswerRe: Edit Box Pin
ThatsAlok22-May-06 4:01
ThatsAlok22-May-06 4:01 
QuestionCan any body give solution to my problem.. Pin
D.Srihari21-May-06 21:48
D.Srihari21-May-06 21:48 
GeneralRe: Can any body give solution to my problem.. Pin
Laxman Auti21-May-06 22:39
Laxman Auti21-May-06 22:39 
AnswerRe: Can any body give solution to my problem.. Pin
Ramu.e21-May-06 22:41
Ramu.e21-May-06 22:41 
void CChildView::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)
{
// TODO: Add your message handler code here and/or call default
int p=GetScrollPos(SB_HORZ);
switch(nSBCode)
{
case SB_LINELEFT:
p-=1;
break;
case SB_LINERIGHT:
p+=1;
break;
case SB_PAGELEFT:
p-=5;
break;

case SB_PAGERIGHT:
p+=5;
break;
case SB_THUMBTRACK:
p=nPos;
break;

}
SetScrollPos(SB_HORZ,p);

CWnd ::OnHScroll(nSBCode, nPos, pScrollBar);
}


i think u might have forgot the highlighted code

E-Ramu
QuestionIterating a folder Pin
atimpoo21-May-06 21:39
atimpoo21-May-06 21:39 
AnswerRe: Iterating a folder [modified] Pin
Nibu babu thomas21-May-06 21:40
Nibu babu thomas21-May-06 21:40 
AnswerRe: Iterating a folder Pin
ThatsAlok22-May-06 0:40
ThatsAlok22-May-06 0:40 
QuestionFonts Pin
Sarath C21-May-06 21:18
Sarath C21-May-06 21:18 
AnswerRe: Fonts Pin
Laxman Auti21-May-06 22:32
Laxman Auti21-May-06 22:32 
GeneralRe: Fonts Pin
Hamid_RT21-May-06 22:37
Hamid_RT21-May-06 22:37 
GeneralRe: Fonts Pin
ThatsAlok22-May-06 0:38
ThatsAlok22-May-06 0:38 
QuestionMultilingual Support Problem Pin
NiceNaidu21-May-06 20:56
NiceNaidu21-May-06 20:56 
AnswerRe: Multilingual Support Problem Pin
grigsoft21-May-06 21:23
grigsoft21-May-06 21:23 
GeneralRe: Multilingual Support Problem Pin
NiceNaidu21-May-06 21:30
NiceNaidu21-May-06 21:30 
GeneralRe: Multilingual Support Problem Pin
grigsoft21-May-06 21:32
grigsoft21-May-06 21:32 
QuestionCxImage Pin
surfman1921-May-06 20:52
surfman1921-May-06 20:52 
AnswerRe: CxImage Pin
GDavy21-May-06 22:34
GDavy21-May-06 22:34 
QuestionUpdateData Problem Pin
VinayCool21-May-06 20:03
VinayCool21-May-06 20:03 
AnswerRe: UpdateData Problem Pin
Naveen21-May-06 20:14
Naveen21-May-06 20:14 
AnswerRe: UpdateData Problem Pin
PJ Arends21-May-06 20:14
professionalPJ Arends21-May-06 20:14 
AnswerRe: UpdateData Problem Pin
Laxman Auti21-May-06 20:14
Laxman Auti21-May-06 20:14 

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.