Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCommandLine execution problem Pin
krishna_CP2-Jun-10 21:04
krishna_CP2-Jun-10 21:04 
AnswerRe: CommandLine execution problem Pin
Richard MacCutchan2-Jun-10 21:13
mveRichard MacCutchan2-Jun-10 21:13 
AnswerRe: CommandLine execution problem Pin
KarstenK2-Jun-10 21:32
mveKarstenK2-Jun-10 21:32 
GeneralRe: CommandLine execution problem DOS Error code 1073741819 Pin
krishna_CP2-Jun-10 22:39
krishna_CP2-Jun-10 22:39 
GeneralRe: CommandLine execution problem DOS Error code 1073741819 Pin
KarstenK2-Jun-10 22:49
mveKarstenK2-Jun-10 22:49 
QuestionLoading bitmap in Dialog in OnPaint() Pin
Anu_Bala2-Jun-10 18:00
Anu_Bala2-Jun-10 18:00 
AnswerRe: Loading bitmap in Dialog in OnPaint() Pin
Aescleal2-Jun-10 20:34
Aescleal2-Jun-10 20:34 
AnswerRe: Loading bitmap in Dialog in OnPaint() Pin
Niklas L2-Jun-10 21:03
Niklas L2-Jun-10 21:03 
In addition do comment by Ash. Move
if(pv>=oTagBase->GetAlarmHigh())
{
m_Picture.SetBitmap(Bmp1);
}
else
{
m_Picture.SetBitmap(Bmp2);
}
to a separate function, e.g. SetImages() and call this from OnInitDialog. Modify SetImages() to only call SetBitmap if the image actually changed since last call.
Then if possible add an event handler listening for changes in the alarm. If you have no such mechanism implemented you could poll the alarm value using a timer.

AnswerRe: Loading bitmap in Dialog in OnPaint() Pin
KarstenK2-Jun-10 21:35
mveKarstenK2-Jun-10 21:35 
AnswerRe: Loading bitmap in Dialog in OnPaint() Pin
CPallini2-Jun-10 21:36
mveCPallini2-Jun-10 21:36 
Questionconverting visual c++ 6 to visual studio 2010 error message error C1083: Cannot open source file No such file or directory Pin
ywimmer2-Jun-10 15:46
ywimmer2-Jun-10 15:46 
AnswerRe: converting visual c++ 6 to visual studio 2010 error message error C1083: Cannot open source file No such file or directory Pin
Anthony Mushrow2-Jun-10 17:00
professionalAnthony Mushrow2-Jun-10 17:00 
GeneralRe: converting visual c++ 6 to visual studio 2010 error message error C1083: Cannot open source file No such file or directory Pin
ywimmer2-Jun-10 19:52
ywimmer2-Jun-10 19:52 
QuestionHow to get another process Debug Registers of content Pin
notediy2-Jun-10 11:13
notediy2-Jun-10 11:13 
AnswerRe: How to get another process Debug Registers of content Pin
Garth J Lancaster2-Jun-10 12:46
professionalGarth J Lancaster2-Jun-10 12:46 
AnswerRe: How to get another process Debug Registers of content Pin
Stephen Hewitt2-Jun-10 17:05
Stephen Hewitt2-Jun-10 17:05 
QuestionGDI: Create 8bit grayscale bitmap from raw pixel intensity data problem Pin
vkinra2-Jun-10 10:49
vkinra2-Jun-10 10:49 
AnswerRe: GDI: Create 8bit grayscale bitmap from raw pixel intensity data problem Pin
John R. Shaw2-Jun-10 11:34
John R. Shaw2-Jun-10 11:34 
GeneralRe: GDI: Create 8bit grayscale bitmap from raw pixel intensity data problem Pin
vkinra2-Jun-10 11:57
vkinra2-Jun-10 11:57 
GeneralRe: GDI: Create 8bit grayscale bitmap from raw pixel intensity data problem Pin
John R. Shaw2-Jun-10 13:29
John R. Shaw2-Jun-10 13:29 
QuestionShort Circuit Evaluation Pin
bob169722-Jun-10 6:47
bob169722-Jun-10 6:47 
AnswerRe: Short Circuit Evaluation PinPopular
Luc Pattyn2-Jun-10 7:39
sitebuilderLuc Pattyn2-Jun-10 7:39 
GeneralRe: Short Circuit Evaluation Pin
bob169722-Jun-10 9:57
bob169722-Jun-10 9:57 
GeneralRe: Short Circuit Evaluation Pin
Luc Pattyn2-Jun-10 10:00
sitebuilderLuc Pattyn2-Jun-10 10:00 
GeneralRe: Short Circuit Evaluation Pin
Tim Craig2-Jun-10 16:46
Tim Craig2-Jun-10 16:46 

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.