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

C / C++ / MFC

 
QuestionA questioon about Pen Width in the MM_ANISOTROPIC map mode. Pin
joshua013719-Aug-10 2:13
joshua013719-Aug-10 2:13 
QuestionRe: A questioon about Pen Width in the MM_ANISOTROPIC map mode. Pin
CPallini19-Aug-10 21:02
mveCPallini19-Aug-10 21:02 
AnswerRe: A questioon about Pen Width in the MM_ANISOTROPIC map mode. Pin
joshua013719-Aug-10 23:18
joshua013719-Aug-10 23:18 
GeneralRe: A questioon about Pen Width in the MM_ANISOTROPIC map mode. Pin
CPallini19-Aug-10 23:29
mveCPallini19-Aug-10 23:29 
QuestionZoom Pin
john563219-Aug-10 0:16
john563219-Aug-10 0:16 
QuestionRe: Zoom Pin
CPallini19-Aug-10 0:24
mveCPallini19-Aug-10 0:24 
AnswerRe: Zoom Pin
john563219-Aug-10 1:30
john563219-Aug-10 1:30 
GeneralRe: Zoom Pin
CPallini19-Aug-10 1:59
mveCPallini19-Aug-10 1:59 
If you want to keep the original image aspect ratio then you may evaluate the minimum and maximum scale factors. The minimum: smallest image size with both dimensions still bigger than (or equal to) the correspondig ones of the minimum allowed rectangle. The maximum: biggest image size with both dimensions still smaller than (or equal to) the corrensponding ones of the maximum allowed rectangle. Please note, maybe minimum >= maximum in degenerated cases...) and set the slider accordingly.
Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Zoom Pin
john563219-Aug-10 2:17
john563219-Aug-10 2:17 
GeneralRe: Zoom Pin
CPallini19-Aug-10 2:30
mveCPallini19-Aug-10 2:30 
AnswerRe: Zoom Pin
Luc Pattyn19-Aug-10 2:35
sitebuilderLuc Pattyn19-Aug-10 2:35 
QuestionProblem caused by interception of API function using method 'code injection' Pin
VictorSotnikov18-Aug-10 23:55
VictorSotnikov18-Aug-10 23:55 
GeneralRe: Problem caused by interception of API function using method 'code injection' Pin
David Crow19-Aug-10 3:51
David Crow19-Aug-10 3:51 
QuestionProblem with doublebyte chars in Japanese Pin
narayanagvs18-Aug-10 21:13
narayanagvs18-Aug-10 21:13 
AnswerRe: Problem with doublebyte chars in Japanese Pin
norish19-Aug-10 8:03
norish19-Aug-10 8:03 
GeneralRe: Problem with doublebyte chars in Japanese Pin
narayanagvs20-Aug-10 0:35
narayanagvs20-Aug-10 0:35 
QuestionHelp needed in Solving LNK2001 Pin
Hari_1618-Aug-10 21:03
Hari_1618-Aug-10 21:03 
AnswerRe: Help needed in Solving LNK2001 Pin
bleedingfingers18-Aug-10 21:07
bleedingfingers18-Aug-10 21:07 
GeneralRe: Help needed in Solving LNK2001 Pin
Hari_1618-Aug-10 21:19
Hari_1618-Aug-10 21:19 
GeneralRe: Help needed in Solving LNK2001 Pin
Richard MacCutchan18-Aug-10 21:54
mveRichard MacCutchan18-Aug-10 21:54 
GeneralRe: Help needed in Solving LNK2001 Pin
bleedingfingers18-Aug-10 22:07
bleedingfingers18-Aug-10 22:07 
GeneralRe: Help needed in Solving LNK2001 Pin
Richard MacCutchan18-Aug-10 22:19
mveRichard MacCutchan18-Aug-10 22:19 
GeneralRe: Help needed in Solving LNK2001 Pin
bleedingfingers18-Aug-10 22:25
bleedingfingers18-Aug-10 22:25 
AnswerRe: Help needed in Solving LNK2001 Pin
Cedric Moonen18-Aug-10 21:50
Cedric Moonen18-Aug-10 21:50 
AnswerRe: Help needed in Solving LNK2001 Pin
Richard MacCutchan18-Aug-10 21:54
mveRichard MacCutchan18-Aug-10 21:54 

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.