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

C / C++ / MFC

 
GeneralRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 3:19
_Flaviu18-Jul-19 3:19 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 4:03
mveRichard MacCutchan18-Jul-19 4:03 
QuestionRe: Call C functions from VC++ Pin
David Crow18-Jul-19 9:05
David Crow18-Jul-19 9:05 
AnswerRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 19:20
_Flaviu18-Jul-19 19:20 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 20:54
mveRichard MacCutchan18-Jul-19 20:54 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 22:56
mveRichard MacCutchan18-Jul-19 22:56 
QuestionMFC Picture Control image size. Pin
Maximilien17-Jul-19 10:07
Maximilien17-Jul-19 10:07 
AnswerRe: MFC Picture Control image size. Pin
Victor Nijegorodov17-Jul-19 20:32
Victor Nijegorodov17-Jul-19 20:32 
Maximilien wrote:
Is there a way to know the actual pixel size of the Picture Control ?

You already set this size in the .rc file.
But if you mean the real image size... Well, first try to "play" with SS_REALSIZEIMAGE and SS_CENTERIMAGE flags.
If it won't help then try to owner-draw.

//edit: you could use GetBitmapDimensionEx function (wingdi.h) | Microsoft Docs to obtain bitmap size.
GeneralRe: MFC Picture Control image size. Pin
Maximilien18-Jul-19 3:50
Maximilien18-Jul-19 3:50 
GeneralRe: MFC Picture Control image size. Pin
Victor Nijegorodov18-Jul-19 4:25
Victor Nijegorodov18-Jul-19 4:25 
AnswerRe: MFC Picture Control image size. Pin
Richard MacCutchan17-Jul-19 21:04
mveRichard MacCutchan17-Jul-19 21:04 
GeneralRe: MFC Picture Control image size. Pin
Maximilien18-Jul-19 3:50
Maximilien18-Jul-19 3:50 
GeneralRe: MFC Picture Control image size. Pin
Richard MacCutchan18-Jul-19 4:03
mveRichard MacCutchan18-Jul-19 4:03 
QuestionAlgorithm Problem(C++ solution) Pin
nirvikprantor12-Jul-19 5:05
nirvikprantor12-Jul-19 5:05 
AnswerRe: Algorithm Problem(C++ solution) PinPopular
OriginalGriff12-Jul-19 5:10
mveOriginalGriff12-Jul-19 5:10 
GeneralRe: Algorithm Problem(C++ solution) Pin
Joe Woodbury12-Jul-19 10:02
professionalJoe Woodbury12-Jul-19 10:02 
AnswerRe: Algorithm Problem(C++ solution) Pin
Stefan_Lang15-Jul-19 2:05
Stefan_Lang15-Jul-19 2:05 
AnswerRe: Algorithm Problem(C++ solution) Pin
Gerry Schmitz15-Jul-19 8:14
mveGerry Schmitz15-Jul-19 8:14 
QuestionOverflow check on integer multiplication in C ? Pin
Hans9999-Jul-19 2:01
Hans9999-Jul-19 2:01 
AnswerRe: Overflow check on integer multiplication in C ? Pin
Daniel Pfeffer9-Jul-19 3:10
professionalDaniel Pfeffer9-Jul-19 3:10 
AnswerRe: Overflow check on integer multiplication in C ? Pin
Joe Woodbury9-Jul-19 7:41
professionalJoe Woodbury9-Jul-19 7:41 
AnswerRe: Overflow check on integer multiplication in C ? Pin
leon de boer10-Jul-19 3:35
leon de boer10-Jul-19 3:35 
GeneralRe: Overflow check on integer multiplication in C ? Pin
CPallini10-Jul-19 4:57
mveCPallini10-Jul-19 4:57 
SuggestionI have created a Wrapper but while calling a function from C# its moving to my Lib file and giving below error andy solution? Pin
Member 143147593-Jul-19 22:14
Member 143147593-Jul-19 22:14 
GeneralRe: I have created a Wrapper but while calling a function from C# its moving to my Lib file and giving below error andy solution? Pin
leon de boer4-Jul-19 2:39
leon de boer4-Jul-19 2:39 

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.