Click here to Skip to main content
15,926,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Connect to Registry Pin
RadioOpa11-Oct-05 4:35
RadioOpa11-Oct-05 4:35 
AnswerRe: Connect to Registry Pin
Roger Stoltz11-Oct-05 5:05
Roger Stoltz11-Oct-05 5:05 
QuestionUnicode presentation CEdit Pin
RadioOpa11-Oct-05 2:59
RadioOpa11-Oct-05 2:59 
AnswerRe: Unicode presentation CEdit Pin
RadioOpa11-Oct-05 21:17
RadioOpa11-Oct-05 21:17 
QuestionMultiByteToWideCHar Help? Pin
Amit j Patil11-Oct-05 2:35
Amit j Patil11-Oct-05 2:35 
AnswerRe: MultiByteToWideCHar Help? Pin
nm_11411-Oct-05 11:30
nm_11411-Oct-05 11:30 
GeneralRe: MultiByteToWideCHar Help? Pin
Amit j Patil12-Oct-05 21:05
Amit j Patil12-Oct-05 21:05 
QuestionPossible CDC issue Pin
wdhough11-Oct-05 1:43
wdhough11-Oct-05 1:43 
I have an application that draws a diagram in the form of a bitmap and then displays this in a window. There are limits placed in my code that do not allow
the CSize properties cx and cy to be set to more than 32000 in 'SetViewportExt' and 'SetWindowExt'. This limits my the amount of my diagram that i can draw, and believe it or not someone has managed to make a diagram that exceeds that would exceed the cy component of this diagram. I took these limits out in order to be able to display the whole diagram and it worked well, the CSize objects passed to the 'SetWindowExt' and 'SetViewportExt' methods had cy components that exceed 32000, in fact they were in the region of 69000. However when i doubled the size of my diagram, which is draw as a bit map, it failed. Let us be clear the parameter is was now setting the CSize object to that would be passed to the two previously mentioned methods, were 140000 (cy component) and 2000 (cx) component. The failure was that i had lines running over the top of my diagram, i spoke to someone who was previously involved this project and they told me without those limits, i was "killing the DC", sadly he couldnt tell me, anymore, it seems that there is some sort of limit?

Can anyone help me with understanding this, or perhaps offer a solution

Many thanks

Will
QuestionDiff between CFile and CStdioFile Pin
karmendra_js11-Oct-05 1:35
karmendra_js11-Oct-05 1:35 
AnswerRe: Diff between CFile and CStdioFile Pin
ThatsAlok11-Oct-05 1:46
ThatsAlok11-Oct-05 1:46 
AnswerRe: Diff between CFile and CStdioFile Pin
Roger Stoltz11-Oct-05 1:54
Roger Stoltz11-Oct-05 1:54 
QuestionConvert bmp to Text Pin
sonu25211-Oct-05 0:39
sonu25211-Oct-05 0:39 
AnswerRe: Convert bmp to Text Pin
Roger Stoltz11-Oct-05 1:30
Roger Stoltz11-Oct-05 1:30 
QuestionRepeated calling of a function Pin
nripun11-Oct-05 0:30
nripun11-Oct-05 0:30 
AnswerRe: Repeated calling of a function Pin
dharani11-Oct-05 0:46
dharani11-Oct-05 0:46 
GeneralRe: Repeated calling of a function Pin
sonu25211-Oct-05 1:14
sonu25211-Oct-05 1:14 
GeneralRe: Repeated calling of a function Pin
ky_rerun11-Oct-05 7:51
ky_rerun11-Oct-05 7:51 
AnswerRe: Repeated calling of a function Pin
Bob Stanneveld11-Oct-05 1:53
Bob Stanneveld11-Oct-05 1:53 
AnswerRe: Repeated calling of a function Pin
Tim Smith11-Oct-05 3:58
Tim Smith11-Oct-05 3:58 
GeneralRe: Repeated calling of a function Pin
Trollslayer11-Oct-05 4:45
mentorTrollslayer11-Oct-05 4:45 
GeneralRe: Repeated calling of a function Pin
nripun11-Oct-05 9:14
nripun11-Oct-05 9:14 
GeneralRe: Repeated calling of a function Pin
PJ Arends11-Oct-05 15:45
professionalPJ Arends11-Oct-05 15:45 
GeneralRe: Repeated calling of a function Pin
Roger Stoltz11-Oct-05 21:32
Roger Stoltz11-Oct-05 21:32 
GeneralRe: Repeated calling of a function Pin
nripun11-Oct-05 9:15
nripun11-Oct-05 9:15 
QuestionON_UPDATE_COMMAND_UI Help me !!! Pin
dharani11-Oct-05 0:26
dharani11-Oct-05 0:26 

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.