Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalload image Pin
Kathrin2-Jul-01 16:08
Kathrin2-Jul-01 16:08 
GeneralRe: load image Pin
Christian Graus2-Jul-01 17:38
protectorChristian Graus2-Jul-01 17:38 
GeneralRe: load image Pin
Kathrin3-Jul-01 21:10
Kathrin3-Jul-01 21:10 
GeneralRe: load image Pin
Erik Thompson3-Jul-01 7:28
sitebuilderErik Thompson3-Jul-01 7:28 
GeneralRe: load image Pin
Kathrin3-Jul-01 22:00
Kathrin3-Jul-01 22:00 
GeneralRe: load image Pin
Erik Thompson4-Jul-01 7:24
sitebuilderErik Thompson4-Jul-01 7:24 
GeneralRe: load image Pin
Kathrin4-Jul-01 19:08
Kathrin4-Jul-01 19:08 
GeneralRe: load image Pin
Christian Graus4-Jul-01 19:15
protectorChristian Graus4-Jul-01 19:15 
I believe you'll get an assert if you call LoadBitmap withoutfirst freeing the bitmap that was there before. Can I ask why you're comparing a string instead of a number ? The best method IMHO for this sort of thing is an enum, because it means you can give each 'mode' a text name that makes sense to you but computationally it is fast because it is a number internally.

Christian

#include "std_disclaimer.h"

People who love sausage and respect the law should never watch either one being made.

The things that come to those who wait are usually the things left by those who got there first.

Generalchange filename Pin
2-Jul-01 14:07
suss2-Jul-01 14:07 
GeneralRe: change filename Pin
Carlos Antollini2-Jul-01 14:56
Carlos Antollini2-Jul-01 14:56 
GeneralRe: change filename Pin
2-Jul-01 15:21
suss2-Jul-01 15:21 
GeneralRe: change filename Pin
3-Jul-01 5:22
suss3-Jul-01 5:22 
GeneralCOM IDL Pin
William Bartholomew2-Jul-01 12:42
William Bartholomew2-Jul-01 12:42 
GeneralRe: COM IDL Pin
Richard Caetano2-Jul-01 13:43
Richard Caetano2-Jul-01 13:43 
GeneralRe: COM IDL Pin
Richard Caetano2-Jul-01 13:47
Richard Caetano2-Jul-01 13:47 
GeneralAudio looping using waveform functions. Pin
2-Jul-01 10:47
suss2-Jul-01 10:47 
GeneralCStatusBarCtrl::SetIcon Pin
Rickard Andersson202-Jul-01 9:42
Rickard Andersson202-Jul-01 9:42 
GeneralRe: CStatusBarCtrl::SetIcon Pin
Michael Martin2-Jul-01 13:50
professionalMichael Martin2-Jul-01 13:50 
GeneralProblem importing mso97.dll Pin
Jamie Nordmeyer2-Jul-01 9:09
Jamie Nordmeyer2-Jul-01 9:09 
GeneralRe: Problem importing mso97.dll Pin
Jamie Nordmeyer2-Jul-01 12:35
Jamie Nordmeyer2-Jul-01 12:35 
GeneralRe: Problem importing mso97.dll Pin
Bret Faller3-Jul-01 8:47
Bret Faller3-Jul-01 8:47 
GeneralDynamic query ... Pin
Hadi Rezaee2-Jul-01 8:32
Hadi Rezaee2-Jul-01 8:32 
GeneralRe: Dynamic query ... Pin
Carlos Antollini2-Jul-01 15:20
Carlos Antollini2-Jul-01 15:20 
GeneralRe: Dynamic query ... Pin
Hadi Rezaee2-Jul-01 17:10
Hadi Rezaee2-Jul-01 17:10 
GeneralProblem calling .exe from a dll Pin
2-Jul-01 7:23
suss2-Jul-01 7:23 

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.