Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error conveting VS 2008 project to VS 2010 project Pin
Richard MacCutchan22-Aug-12 2:30
mveRichard MacCutchan22-Aug-12 2:30 
GeneralRe: Error conveting VS 2008 project to VS 2010 project Pin
ForNow22-Aug-12 2:42
ForNow22-Aug-12 2:42 
QuestionWhat happened to the forum? Pin
includeh1021-Aug-12 5:38
includeh1021-Aug-12 5:38 
AnswerRe: What happened to the forum? Pin
Richard Andrew x6421-Aug-12 7:04
professionalRichard Andrew x6421-Aug-12 7:04 
AnswerThen, please, leave my dear. Pin
CPallini21-Aug-12 7:04
mveCPallini21-Aug-12 7:04 
AnswerRe: What happened to the forum? Pin
Richard MacCutchan21-Aug-12 7:16
mveRichard MacCutchan21-Aug-12 7:16 
QuestionNeed help to pan client area of a window using win32 api / mfc Pin
Member 935377620-Aug-12 19:43
Member 935377620-Aug-12 19:43 
AnswerRe: Need help to pan client area of a window using win32 api / mfc Pin
Richard MacCutchan20-Aug-12 21:22
mveRichard MacCutchan20-Aug-12 21:22 
You just need to add code to your mouse handler to capture the amount of movement and use that information to adjust a variable which tells your program how far to the left or right the window should be moved. Then call InvalidateRect()[^] to tell the system that your window needs repainting. In your OnPaint() handler you use the stored variable to repaint that part of your data that falls within the physical window.
One of these days I'm going to think of a really clever signature.

GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Member 935377620-Aug-12 21:59
Member 935377620-Aug-12 21:59 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Richard MacCutchan20-Aug-12 22:34
mveRichard MacCutchan20-Aug-12 22:34 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Richard MacCutchan20-Aug-12 22:36
mveRichard MacCutchan20-Aug-12 22:36 
AnswerRe: Need help to pan client area of a window using win32 api / mfc Pin
Sunil P V20-Aug-12 22:38
Sunil P V20-Aug-12 22:38 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Richard MacCutchan21-Aug-12 0:37
mveRichard MacCutchan21-Aug-12 0:37 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Sunil P V24-Aug-12 1:29
Sunil P V24-Aug-12 1:29 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Member 935377622-Aug-12 21:55
Member 935377622-Aug-12 21:55 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Sunil P V24-Aug-12 1:31
Sunil P V24-Aug-12 1:31 
AnswerRe: Need help to pan client area of a window using win32 api / mfc Pin
pasztorpisti21-Aug-12 4:59
pasztorpisti21-Aug-12 4:59 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
Member 935377622-Aug-12 22:48
Member 935377622-Aug-12 22:48 
GeneralRe: Need help to pan client area of a window using win32 api / mfc Pin
pasztorpisti22-Aug-12 23:07
pasztorpisti22-Aug-12 23:07 
QuestionTrying not to display the "description" part of a tooltip. (MFC) Pin
Maximilien20-Aug-12 5:03
Maximilien20-Aug-12 5:03 
QuestionCan not catch OnKeyup on CListCtrl Pin
_Flaviu20-Aug-12 5:03
_Flaviu20-Aug-12 5:03 
AnswerRe: Can not catch OnKeyup on CListCtrl Pin
Software_Developer20-Aug-12 9:15
Software_Developer20-Aug-12 9:15 
QuestionBITMAPINFOHEADER working in Debug but not in Release Pin
002comp19-Aug-12 21:15
002comp19-Aug-12 21:15 
AnswerRe: BITMAPINFOHEADER working in Debug but not in Release Pin
Endurion_19-Aug-12 22:39
Endurion_19-Aug-12 22:39 
GeneralRe: BITMAPINFOHEADER working in Debug but not in Release Pin
002comp19-Aug-12 22:43
002comp19-Aug-12 22:43 

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.