Click here to Skip to main content
14,734,150 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 4:09
mveRichard MacCutchan18-Jul-19 4:09 
GeneralRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 4:19
Member_Flaviu18-Jul-19 4:19 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 5:03
mveRichard MacCutchan18-Jul-19 5:03 
QuestionRe: Call C functions from VC++ Pin
David Crow18-Jul-19 10:05
MemberDavid Crow18-Jul-19 10:05 
AnswerRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 20:20
Member_Flaviu18-Jul-19 20:20 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 21:54
mveRichard MacCutchan18-Jul-19 21:54 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 23:56
mveRichard MacCutchan18-Jul-19 23:56 
QuestionMFC Picture Control image size. Pin
Maximilien17-Jul-19 11:07
MemberMaximilien17-Jul-19 11:07 
(google-fu seems to be lacking today, and I'm certain I'm not asking or doing the right thing)

I have defined a UI in the resource editor with a Picture Control and assign a bitmap on it :
CONTROL IDB_BITMAP1,IDC_BACKGROUND_PICTURE,"Static",SS_BITMAP | SS_CENTERIMAGE,14,7,425,263

The problem is that sometimes (most of the time) the actual bitmap does not have the same size as the picture control.

Is there a way to know the actual pixel size of the Picture Control ?

Am I doing this the wrong way? or Am I forced to do this in code (get picturecontrol client size, and StretchBlt ... )?

Thanks.
I'd rather be phishing!

AnswerRe: MFC Picture Control image size. Pin
Victor Nijegorodov17-Jul-19 21:32
MemberVictor Nijegorodov17-Jul-19 21:32 
GeneralRe: MFC Picture Control image size. Pin
Maximilien18-Jul-19 4:50
MemberMaximilien18-Jul-19 4:50 
GeneralRe: MFC Picture Control image size. Pin
Victor Nijegorodov18-Jul-19 5:25
MemberVictor Nijegorodov18-Jul-19 5:25 
AnswerRe: MFC Picture Control image size. Pin
Richard MacCutchan17-Jul-19 22:04
mveRichard MacCutchan17-Jul-19 22:04 
GeneralRe: MFC Picture Control image size. Pin
Maximilien18-Jul-19 4:50
MemberMaximilien18-Jul-19 4:50 
GeneralRe: MFC Picture Control image size. Pin
Richard MacCutchan18-Jul-19 5:03
mveRichard MacCutchan18-Jul-19 5:03 
QuestionAlgorithm Problem(C++ solution) Pin
nirvikprantor12-Jul-19 6:05
Membernirvikprantor12-Jul-19 6:05 
AnswerRe: Algorithm Problem(C++ solution) Pin
OriginalGriff12-Jul-19 6:10
mveOriginalGriff12-Jul-19 6:10 
GeneralRe: Algorithm Problem(C++ solution) Pin
Joe Woodbury12-Jul-19 11:02
professionalJoe Woodbury12-Jul-19 11:02 
AnswerRe: Algorithm Problem(C++ solution) Pin
Stefan_Lang15-Jul-19 3:05
mveStefan_Lang15-Jul-19 3:05 
AnswerRe: Algorithm Problem(C++ solution) Pin
Gerry Schmitz15-Jul-19 9:14
mveGerry Schmitz15-Jul-19 9:14 
QuestionOverflow check on integer multiplication in C ? Pin
Hans9999-Jul-19 3:01
MemberHans9999-Jul-19 3:01 
AnswerRe: Overflow check on integer multiplication in C ? Pin
Daniel Pfeffer9-Jul-19 4:10
professionalDaniel Pfeffer9-Jul-19 4:10 
AnswerRe: Overflow check on integer multiplication in C ? Pin
Joe Woodbury9-Jul-19 8:41
professionalJoe Woodbury9-Jul-19 8:41 
AnswerRe: Overflow check on integer multiplication in C ? Pin
leon de boer10-Jul-19 4:35
Memberleon de boer10-Jul-19 4:35 
GeneralRe: Overflow check on integer multiplication in C ? Pin
CPallini10-Jul-19 5:57
mveCPallini10-Jul-19 5: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 23:14
MemberMember 143147593-Jul-19 23:14 

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.