Click here to Skip to main content
15,909,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Variable length of String Pin
Maximilien29-Jun-11 3:56
Maximilien29-Jun-11 3:56 
GeneralRe: Variable length of String Pin
Albert Holguin29-Jun-11 9:22
professionalAlbert Holguin29-Jun-11 9:22 
GeneralRe: Variable length of String Pin
Maximilien29-Jun-11 9:39
Maximilien29-Jun-11 9:39 
GeneralRe: Variable length of String Pin
Albert Holguin29-Jun-11 11:32
professionalAlbert Holguin29-Jun-11 11:32 
AnswerRe: Variable length of String Pin
Stefan_Lang30-Jun-11 2:06
Stefan_Lang30-Jun-11 2:06 
QuestionImplementing MD5 algorithm in C++ Pin
pix_programmer28-Jun-11 19:38
pix_programmer28-Jun-11 19:38 
AnswerRe: Implementing MD5 algorithm in C++ Pin
Peter_in_278028-Jun-11 20:08
professionalPeter_in_278028-Jun-11 20:08 
AnswerRe: Implementing MD5 algorithm in C++ Pin
Mark Salsbery29-Jun-11 9:26
Mark Salsbery29-Jun-11 9:26 
Questionknowing file version Pin
Sakhalean28-Jun-11 19:37
Sakhalean28-Jun-11 19:37 
AnswerRe: knowing file version Pin
pix_programmer28-Jun-11 19:45
pix_programmer28-Jun-11 19:45 
QuestionKnowing path of MFC executable Pin
Sakhalean28-Jun-11 18:35
Sakhalean28-Jun-11 18:35 
AnswerRe: Knowing path of MFC executable Pin
ShilpiP28-Jun-11 19:02
ShilpiP28-Jun-11 19:02 
GeneralRe: Knowing path of MFC executable Pin
Sakhalean28-Jun-11 19:20
Sakhalean28-Jun-11 19:20 
GeneralRe: Knowing path of MFC executable Pin
pix_programmer28-Jun-11 19:34
pix_programmer28-Jun-11 19:34 
GeneralRe: Knowing path of MFC executable Pin
Randor 29-Jun-11 1:33
professional Randor 29-Jun-11 1:33 
GeneralRe: Knowing path of MFC executable Pin
Albert Holguin29-Jun-11 9:17
professionalAlbert Holguin29-Jun-11 9:17 
AnswerRe: Knowing path of MFC executable Pin
Charles Oppermann4-Aug-11 13:02
Charles Oppermann4-Aug-11 13:02 
AnswerRe: Knowing path of MFC executable Pin
softwaremonkey28-Jun-11 20:10
softwaremonkey28-Jun-11 20:10 
AnswerRe: Knowing path of MFC executable Pin
Chuck O'Toole29-Jun-11 15:57
Chuck O'Toole29-Jun-11 15:57 
QuestionCall Invoke() fails [modified] Pin
yaxiya28-Jun-11 16:29
yaxiya28-Jun-11 16:29 
AnswerRe: Call Invoke() fails Pin
David Crow28-Jun-11 16:53
David Crow28-Jun-11 16:53 
GeneralRe: Call Invoke() fails Pin
yaxiya28-Jun-11 17:05
yaxiya28-Jun-11 17:05 
QuestionCButton::DrawItem not called when owner dialog is "Restored" Pin
Albert Holguin28-Jun-11 9:24
professionalAlbert Holguin28-Jun-11 9:24 
I made a custom CButton::DrawItem() so that I could draw some buttons the way I want them. One of the things I'm doing with it, is making the button "pin-able" to the right side of the parent dialog's (cwnd) display rectangle (using it both as a child to a CDialog and another CButton, in different cases). It seems though, that when a window is maximized, then restored, the restore doesn't call CButton::DrawItem(), leaving my button in the middle of nowhere. If I track the messages, it doesn't seem the framework ever asks the CButton object (or the parent dialog for that matter) to redraw when it is restored.

Seems like maximize and restore are treated differently in the framework. Has anyone seen this before or know how to deal with it?
AnswerRe: CButton::DrawItem not called when owner dialog is "Restored" Pin
Code-o-mat28-Jun-11 22:12
Code-o-mat28-Jun-11 22:12 
GeneralRe: CButton::DrawItem not called when owner dialog is "Restored" Pin
Albert Holguin29-Jun-11 7:51
professionalAlbert Holguin29-Jun-11 7:51 

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.