Click here to Skip to main content
15,896,338 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Button with Icon not showing tooltip Pin
Hamid_RT26-Jun-07 0:33
Hamid_RT26-Jun-07 0:33 
GeneralRe: Button with Icon not showing tooltip Pin
_AnsHUMAN_ 26-Jun-07 1:30
_AnsHUMAN_ 26-Jun-07 1:30 
GeneralRe: Button with Icon not showing tooltip Pin
Hamid_RT26-Jun-07 19:20
Hamid_RT26-Jun-07 19:20 
GeneralRe: Button with Icon not showing tooltip Pin
_AnsHUMAN_ 26-Jun-07 19:12
_AnsHUMAN_ 26-Jun-07 19:12 
QuestionLoading bitmap on Combo control Pin
naveen27gupta25-Jun-07 23:20
naveen27gupta25-Jun-07 23:20 
AnswerRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer25-Jun-07 23:44
Iain Clarke, Warrior Programmer25-Jun-07 23:44 
AnswerRe: Loading bitmap on Combo control Pin
naveen27gupta26-Jun-07 0:52
naveen27gupta26-Jun-07 0:52 
GeneralRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer26-Jun-07 1:28
Iain Clarke, Warrior Programmer26-Jun-07 1:28 
1/ If you reply to your original message instead of my reply, I don't get notified that you replied. Strangely enough, I don't spend my time refreshing this page. Shocking, I know...

2/ You haven't answered my question about *where* your program is crashing. If it doesn't crash when compliled with debug symbols, that's a clue. If you can't be bothered to run the program from the IDE so you see the crash, then its going to be too hard to help you.

3/ Try commenting out the lines that actually change the bitmap, and just Invalidate the control. Does it still crash?

4/ Speed up the timer, so the error happens faster - probably

5/ You can see memory use by using task manager. Does the working set slowly increase?

6/ My prime suspect is still resources. For that you need to be highly paranoid about matching up every LoadImage with a DeleteObject call. Do you create fonts in your owner draw routine, but don;'t tidy up? Etc. Nobody here can help you with that, you'll just have to remove chunks of code, and slowly add them back and go over them with a fine tooth comb.

I hope that helped a bit,

Iain.



GeneralRe: Loading bitmap on Combo control Pin
naveen27gupta26-Jun-07 2:47
naveen27gupta26-Jun-07 2:47 
GeneralRe: Loading bitmap on Combo control Pin
Iain Clarke, Warrior Programmer26-Jun-07 3:11
Iain Clarke, Warrior Programmer26-Jun-07 3:11 
AnswerRe: Loading bitmap on Combo control Pin
Mark Salsbery26-Jun-07 6:42
Mark Salsbery26-Jun-07 6:42 
QuestionCTreeCtrl::EnsureVisible() -- failed to show selected item. Pin
brakeshbaldhab25-Jun-07 23:13
brakeshbaldhab25-Jun-07 23:13 
QuestionSet cursor to hourglass before window appears Pin
MeniB25-Jun-07 22:37
MeniB25-Jun-07 22:37 
AnswerRe: Set cursor to hourglass before window appears Pin
KaЯl25-Jun-07 22:44
KaЯl25-Jun-07 22:44 
GeneralRe: Set cursor to hourglass before window appears Pin
MeniB25-Jun-07 22:48
MeniB25-Jun-07 22:48 
GeneralRe: Set cursor to hourglass before window appears Pin
KaЯl25-Jun-07 23:03
KaЯl25-Jun-07 23:03 
QuestionNo, the problem is catching messages while my window is invisible Pin
MeniB25-Jun-07 23:34
MeniB25-Jun-07 23:34 
AnswerRe: Set cursor to hourglass before window appears Pin
Rajkumar R25-Jun-07 23:25
Rajkumar R25-Jun-07 23:25 
QuestionRe: Set cursor to hourglass before window appears Pin
MeniB25-Jun-07 23:40
MeniB25-Jun-07 23:40 
AnswerRe: Set cursor to hourglass before window appears Pin
Iain Clarke, Warrior Programmer25-Jun-07 23:54
Iain Clarke, Warrior Programmer25-Jun-07 23:54 
AnswerRe: Set cursor to hourglass before window appears Pin
Rajkumar R26-Jun-07 0:14
Rajkumar R26-Jun-07 0:14 
AnswerThis will work Pin
sudheee26-Jun-07 1:14
sudheee26-Jun-07 1:14 
QuestionProject Settings etc. Pin
ldsdbomber25-Jun-07 22:20
ldsdbomber25-Jun-07 22:20 
AnswerRe: Project Settings etc. Pin
_AnsHUMAN_ 25-Jun-07 22:22
_AnsHUMAN_ 25-Jun-07 22:22 
JokeRe: Project Settings etc. Pin
Cedric Moonen25-Jun-07 22:48
Cedric Moonen25-Jun-07 22:48 

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.