Click here to Skip to main content
15,886,664 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377616-Aug-12 20:17
Member 935377616-Aug-12 20:17 
AnswerRe: How to pan a window using C++/VC++ code Pin
Software_Developer13-Aug-12 8:42
Software_Developer13-Aug-12 8:42 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
Member 935377618-Aug-12 19:35
Member 935377618-Aug-12 19:35 
AnswerRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 11:54
pasztorpisti13-Aug-12 11:54 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377613-Aug-12 20:17
Member 935377613-Aug-12 20:17 
GeneralRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 22:40
pasztorpisti13-Aug-12 22:40 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377616-Aug-12 20:16
Member 935377616-Aug-12 20:16 
GeneralRe: How to pan a window using C++/VC++ code Pin
pasztorpisti16-Aug-12 22:22
pasztorpisti16-Aug-12 22:22 
You have to do exactly the same. You handle the mouse events, and depending on the offset of the mouse move you change an internal variable in your program. In my example program the internal variable to change was the position of the window, but it could be anything else, for example the offset in your picture or pdf file for drawing on the client area of your window. All you have to do is using/changing something else, not the window position, for example the position where you draw your picture on the client area.
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
Member 935377616-Aug-12 22:56
Member 935377616-Aug-12 22:56 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
pasztorpisti16-Aug-12 23:00
pasztorpisti16-Aug-12 23:00 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
Member 935377620-Aug-12 19:19
Member 935377620-Aug-12 19:19 
QuestionHow to change text in a text box while user is typing in another edit box in MFC.? Pin
mbatra3112-Aug-12 23:42
mbatra3112-Aug-12 23:42 
AnswerRe: How to change text in a text box while user is typing in another edit box in MFC.? Pin
Richard MacCutchan13-Aug-12 0:38
mveRichard MacCutchan13-Aug-12 0:38 
QuestionHow to generate Crystal Report in VC++ (VS2008) Pin
shiokbarnabas12-Aug-12 18:00
shiokbarnabas12-Aug-12 18:00 
AnswerRe: How to generate Crystal Report in VC++ (VS2008) Pin
Software_Developer12-Aug-12 23:18
Software_Developer12-Aug-12 23:18 
QuestionRichedit is displayed and Immediately aborts Pin
ForNow11-Aug-12 17:53
ForNow11-Aug-12 17:53 
AnswerRe: Richedit is displayed and Immediately aborts Pin
Richard MacCutchan11-Aug-12 21:44
mveRichard MacCutchan11-Aug-12 21:44 
GeneralRe: Richedit is displayed and Immediately aborts Pin
ForNow12-Aug-12 3:07
ForNow12-Aug-12 3:07 
GeneralRe: Richedit is displayed and Immediately aborts Pin
Richard MacCutchan12-Aug-12 4:01
mveRichard MacCutchan12-Aug-12 4:01 
GeneralRe: Out of Memory help Pin
ForNow12-Aug-12 12:47
ForNow12-Aug-12 12:47 
GeneralRe: Out of Memory help Pin
Bram van Kampen12-Aug-12 14:45
Bram van Kampen12-Aug-12 14:45 
QuestionRe: Out of Memory help Pin
Richard Andrew x6412-Aug-12 15:12
professionalRichard Andrew x6412-Aug-12 15:12 
AnswerRe: Out of Memory help Pin
Bram van Kampen13-Aug-12 11:24
Bram van Kampen13-Aug-12 11:24 
GeneralRe: Out of Memory help Pin
Richard Andrew x6413-Aug-12 12:10
professionalRichard Andrew x6413-Aug-12 12:10 
GeneralRe: Out of Memory help Pin
Richard MacCutchan12-Aug-12 21:44
mveRichard MacCutchan12-Aug-12 21:44 

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.