Click here to Skip to main content
15,925,528 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to keep on this program executing when I put it at the backgound? Pin
InOut.NET10-Jul-07 3:14
InOut.NET10-Jul-07 3:14 
QuestionAdding Controls in Runtime Pin
InOut.NET10-Jul-07 1:23
InOut.NET10-Jul-07 1:23 
AnswerRe: Adding Controls in Runtime Pin
Hamid_RT10-Jul-07 1:36
Hamid_RT10-Jul-07 1:36 
AnswerRe: Adding Controls in Runtime Pin
Mark Salsbery10-Jul-07 6:24
Mark Salsbery10-Jul-07 6:24 
GeneralRe: Adding Controls in Runtime Pin
InOut.NET10-Jul-07 7:01
InOut.NET10-Jul-07 7:01 
GeneralRe: Adding Controls in Runtime Pin
Mark Salsbery10-Jul-07 7:03
Mark Salsbery10-Jul-07 7:03 
Questionbackground bitmaps disappearing Pin
chaitu_41210-Jul-07 1:09
chaitu_41210-Jul-07 1:09 
AnswerRe: background bitmaps disappearing Pin
Christian Graus10-Jul-07 1:16
protectorChristian Graus10-Jul-07 1:16 
This means you're leaking memory. The GDI memory you're leaking is the bitmap itself, I believe. Why do you load it every time ? Make it a member variable, so you load it only once, that just makes sense.

Either way, I'm not sure if that solves the core issue, but it might, it will sure simplify the code. But, somewhere in your app, you are leaking GDI resources, and you're running out.



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: background bitmaps disappearing Pin
chaitu_41210-Jul-07 1:22
chaitu_41210-Jul-07 1:22 
Questionpass values in dsn at runtime Pin
meenakhisjoshi10-Jul-07 0:59
meenakhisjoshi10-Jul-07 0:59 
AnswerRe: pass values in dsn at runtime Pin
David Crow10-Jul-07 3:15
David Crow10-Jul-07 3:15 
Questionabout "round" function in visual C++ Pin
mt_samiei10-Jul-07 0:34
mt_samiei10-Jul-07 0:34 
AnswerRe: about "round" function in visual C++ [modified] Pin
CPallini10-Jul-07 0:53
mveCPallini10-Jul-07 0:53 
GeneralRe: about "round" function in visual C++ Pin
Rage10-Jul-07 1:59
professionalRage10-Jul-07 1:59 
GeneralRe: about "round" function in visual C++ Pin
toxcct10-Jul-07 2:05
toxcct10-Jul-07 2:05 
GeneralRe: about "round" function in visual C++ Pin
CPallini10-Jul-07 2:09
mveCPallini10-Jul-07 2:09 
QuestionLVN_BEGINDRAG Pin
baerten9-Jul-07 21:51
baerten9-Jul-07 21:51 
AnswerRe: LVN_BEGINDRAG Pin
Aamir Butt9-Jul-07 23:35
Aamir Butt9-Jul-07 23:35 
GeneralRe: LVN_BEGINDRAG Pin
baerten10-Jul-07 0:02
baerten10-Jul-07 0:02 
GeneralRe: LVN_BEGINDRAG Pin
Hamid_RT10-Jul-07 1:22
Hamid_RT10-Jul-07 1:22 
GeneralRe: LVN_BEGINDRAG Pin
baerten10-Jul-07 3:38
baerten10-Jul-07 3:38 
GeneralRe: LVN_BEGINDRAG Pin
Mark Salsbery10-Jul-07 6:28
Mark Salsbery10-Jul-07 6:28 
GeneralRe: LVN_BEGINDRAG Pin
Hamid_RT10-Jul-07 8:34
Hamid_RT10-Jul-07 8:34 
JokeRe: LVN_BEGINDRAG Pin
baerten10-Jul-07 21:11
baerten10-Jul-07 21:11 
GeneralRe: LVN_BEGINDRAG Pin
Hamid_RT10-Jul-07 21:28
Hamid_RT10-Jul-07 21:28 

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.