Click here to Skip to main content
15,891,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mfc & layout managers Pin
eusto2-Oct-06 10:45
eusto2-Oct-06 10:45 
GeneralRe: mfc & layout managers Pin
Wes Aday2-Oct-06 10:51
professionalWes Aday2-Oct-06 10:51 
AnswerRe: mfc & layout managers Pin
Stephen Hewitt2-Oct-06 18:10
Stephen Hewitt2-Oct-06 18:10 
GeneralRe: mfc & layout managers Pin
S Douglas3-Oct-06 0:45
professionalS Douglas3-Oct-06 0:45 
GeneralRe: mfc & layout managers Pin
Stephen Hewitt3-Oct-06 13:43
Stephen Hewitt3-Oct-06 13:43 
Questiondrag and drop for files on external devices Pin
Clement Ehrenreich2-Oct-06 7:42
Clement Ehrenreich2-Oct-06 7:42 
QuestionRedrawing windows that are newly sized Pin
TheDelChop2-Oct-06 7:35
TheDelChop2-Oct-06 7:35 
AnswerRe: Redrawing windows that are newly sized Pin
Chris Richardson2-Oct-06 10:49
Chris Richardson2-Oct-06 10:49 
SetWindowPos has a flag to indicate that the non-client area of the window needs updating. You can either use SetWindowPos to do the resize (if you are not already using SetWindowPos), or you can do something like the following just to force the frame to redraw:

// Put this after your call to MoveWindow or whatever
SetWindowPos( Your_HWND_Here, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOZORDER | SWP_DRAWFRAME );


Good luck,

Chris Richardson

QuestionAPI hooking Win32 [moved] Pin
bayfouinc2-Oct-06 6:53
bayfouinc2-Oct-06 6:53 
AnswerRe: API hooking Win32 [moved] Pin
Hamid_RT4-Oct-06 7:38
Hamid_RT4-Oct-06 7:38 
GeneralRe: API hooking Win32 [moved] Pin
bayfouinc4-Oct-06 11:48
bayfouinc4-Oct-06 11:48 
GeneralRe: API hooking Win32 [moved] Pin
Hamid_RT4-Oct-06 18:49
Hamid_RT4-Oct-06 18:49 
GeneralRe: API hooking Win32 [moved] Pin
bayfouinc5-Oct-06 2:25
bayfouinc5-Oct-06 2:25 
GeneralRe: API hooking Win32 [moved] Pin
Hamid_RT5-Oct-06 3:29
Hamid_RT5-Oct-06 3:29 
QuestionEasy Installer Pin
Larry Mills Sr2-Oct-06 4:54
Larry Mills Sr2-Oct-06 4:54 
AnswerRe: Easy Installer Pin
toxcct2-Oct-06 4:59
toxcct2-Oct-06 4:59 
GeneralRe: Easy Installer Pin
Stephen Hewitt2-Oct-06 5:58
Stephen Hewitt2-Oct-06 5:58 
AnswerRe: Easy Installer Pin
benjymous2-Oct-06 5:21
benjymous2-Oct-06 5:21 
GeneralRe: Easy Installer Pin
Larry Mills Sr2-Oct-06 15:18
Larry Mills Sr2-Oct-06 15:18 
Question"please wait" window Pin
Desmo162-Oct-06 3:53
Desmo162-Oct-06 3:53 
AnswerRe: "please wait" window Pin
Waldermort2-Oct-06 4:22
Waldermort2-Oct-06 4:22 
GeneralRe: "please wait" window Pin
Maximilien2-Oct-06 4:33
Maximilien2-Oct-06 4:33 
GeneralRe: "please wait" window Pin
Desmo162-Oct-06 4:51
Desmo162-Oct-06 4:51 
GeneralRe: "please wait" window Pin
Rage2-Oct-06 5:51
professionalRage2-Oct-06 5:51 
AnswerRe: "please wait" window Pin
David Crow2-Oct-06 6:10
David Crow2-Oct-06 6:10 

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.