Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: FILETIME / WinAPI Pin
David Crow19-Oct-10 4:18
David Crow19-Oct-10 4:18 
AnswerRe: FILETIME / WinAPI Pin
Fareed Rizkalla19-Oct-10 13:16
Fareed Rizkalla19-Oct-10 13:16 
Questionedit box taking 1108 lines Pin
learningvisualc18-Oct-10 21:48
learningvisualc18-Oct-10 21:48 
AnswerRe: edit box taking 1108 lines Pin
Sauro Viti18-Oct-10 22:02
professionalSauro Viti18-Oct-10 22:02 
AnswerRe: edit box taking 1108 lines Pin
«_Superman_»18-Oct-10 22:42
professional«_Superman_»18-Oct-10 22:42 
QuestionChallenging question for AVI Reading experts Pin
gonsalvesroger18-Oct-10 19:34
gonsalvesroger18-Oct-10 19:34 
QuestionOverflow in LPtoDP function Pin
ashtwin18-Oct-10 18:31
ashtwin18-Oct-10 18:31 
AnswerRe: Overflow in LPtoDP function Pin
Richard MacCutchan18-Oct-10 22:35
mveRichard MacCutchan18-Oct-10 22:35 
ashtwin wrote:
Is it Ok if i reduce x = 100 in SetViewportExt and x = 50 * (some dynamic value) in SetWindowExt.


Certainly it is, but that does not necessarily solve your problem; in my own experience LPtoDP works fine.

The first thing you should be doing is to use your debugger to find out why the overflow is occurring and fix that problem. Then you can decide whether you need to reduce or possibly increase some of your parameter values.
Just say 'NO' to evaluated arguments for diadic functions! Ash

GeneralRe: Overflow in LPtoDP function Pin
ashtwin19-Oct-10 3:11
ashtwin19-Oct-10 3:11 
GeneralRe: Overflow in LPtoDP function Pin
Richard MacCutchan19-Oct-10 4:30
mveRichard MacCutchan19-Oct-10 4:30 
GeneralRe: Overflow in LPtoDP function Pin
ashtwin21-Oct-10 23:09
ashtwin21-Oct-10 23:09 
GeneralRe: Overflow in LPtoDP function Pin
Richard MacCutchan22-Oct-10 2:44
mveRichard MacCutchan22-Oct-10 2:44 
Questionstatic text box new line problem Pin
raju_shiva18-Oct-10 18:04
raju_shiva18-Oct-10 18:04 
AnswerRe: static text box new line problem Pin
vasu_sri18-Oct-10 19:01
vasu_sri18-Oct-10 19:01 
QuestionHow to use " CMFCPropertyGridProperty "to have a button Pin
stevenyes18-Oct-10 5:42
stevenyes18-Oct-10 5:42 
AnswerRe: How to use " CMFCPropertyGridProperty "to have a button Pin
Andrew Truckle28-Feb-24 7:58
professionalAndrew Truckle28-Feb-24 7:58 
QuestionOn the Origin of CTabCtrlEx used in Tabbed Dialogs Pin
federico.strati18-Oct-10 4:00
federico.strati18-Oct-10 4:00 
AnswerRe: On the Origin of CTabCtrlEx used in Tabbed Dialogs Pin
Electron Shepherd18-Oct-10 6:16
Electron Shepherd18-Oct-10 6:16 
QuestionHow can get Domain name in given URL? Pin
Le@rner18-Oct-10 2:44
Le@rner18-Oct-10 2:44 
AnswerRe: How can get Domain name in given URL? Pin
Chris Losinger18-Oct-10 3:00
professionalChris Losinger18-Oct-10 3:00 
AnswerRe: How can get Domain name in given URL? Pin
Code-o-mat18-Oct-10 8:58
Code-o-mat18-Oct-10 8:58 
Questionfitnesse about C++ Pin
lxlenovostar18-Oct-10 2:12
lxlenovostar18-Oct-10 2:12 
AnswerRe: fitnesse about C++ Pin
Maximilien18-Oct-10 3:42
Maximilien18-Oct-10 3:42 
GeneralRe: fitnesse about C++ Pin
lxlenovostar18-Oct-10 3:59
lxlenovostar18-Oct-10 3:59 
GeneralRe: fitnesse about C++ Pin
Richard MacCutchan18-Oct-10 9:31
mveRichard MacCutchan18-Oct-10 9:31 

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.