Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Check if HWND is @ top of Z order Pin
Stuart Dootson25-Dec-08 22:45
professionalStuart Dootson25-Dec-08 22:45 
AnswerRe: Check if HWND is @ top of Z order Pin
Malli_S25-Dec-08 20:13
Malli_S25-Dec-08 20:13 
QuestionLong Running Program Pin
BobInNJ24-Dec-08 16:25
BobInNJ24-Dec-08 16:25 
AnswerRe: Long Running Program Pin
Liu Xia24-Dec-08 17:22
Liu Xia24-Dec-08 17:22 
AnswerRe: Long Running Program Pin
Ravi Bhavnani24-Dec-08 18:42
professionalRavi Bhavnani24-Dec-08 18:42 
AnswerRe: Long Running Program Pin
dehseth25-Dec-08 19:08
dehseth25-Dec-08 19:08 
GeneralRe: Long Running Program Pin
Ravi Bhavnani26-Dec-08 11:35
professionalRavi Bhavnani26-Dec-08 11:35 
QuestionNeed help for numericupdwon Pin
sai5624-Dec-08 15:34
sai5624-Dec-08 15:34 
I am using visual c++ and using the numericupdown button to control the change of picturebox's image, I have set the numericupdown from 0 to 90 and set the program like the following, but then I discover that when I press up down button to change the value in numericupdown, 1 represent 0, 2 represent 1...the number is shifted(i use the textbox to check hte numericupdown->value)so,those image show in the picturebox are not in correct order.....How can I solve it??

private: System::Void numericUpDown1_ValueChanged(System::Object^ sender, System::EventArgs^ e) {

a = numericUpDown1->Text;
b=Int32::Parse(a);

switch (b)
{
case 0 : pictureBox1->Image = Image::FromFile("r1.jpg");
textBox1->Text=a;
break;
case 1 : pictureBox1->Image = Image::FromFile("r2.jpg");
textBox1->Text=a;
break;
default: pictureBox1->Image = Image::FromFile("r3.jpg");
textBox1->Text=a;
break;
}
AnswerRe: Need help for numericupdwon Pin
Code-o-mat25-Dec-08 6:52
Code-o-mat25-Dec-08 6:52 
QuestionHow to write assignment operator for a class with constant member variable? Pin
ComplexLifeForm24-Dec-08 8:07
ComplexLifeForm24-Dec-08 8:07 
AnswerRe: How to write assignment operator for a class with constant member variable? Pin
Code-o-mat24-Dec-08 9:13
Code-o-mat24-Dec-08 9:13 
AnswerRe: How to write assignment operator for a class with constant member variable? Pin
Stuart Dootson24-Dec-08 13:15
professionalStuart Dootson24-Dec-08 13:15 
GeneralRe: How to write assignment operator for a class with constant member variable? Pin
ComplexLifeForm25-Dec-08 4:54
ComplexLifeForm25-Dec-08 4:54 
QuestionImage problem ? Pin
Le@rner24-Dec-08 0:24
Le@rner24-Dec-08 0:24 
AnswerRe: Image problem ? Pin
Naveen24-Dec-08 0:34
Naveen24-Dec-08 0:34 
GeneralRe: Image problem ? Pin
Le@rner24-Dec-08 0:42
Le@rner24-Dec-08 0:42 
GeneralRe: Image problem ? Pin
Naveen24-Dec-08 0:48
Naveen24-Dec-08 0:48 
GeneralRe: Image problem ? Pin
Hamid_RT24-Dec-08 0:51
Hamid_RT24-Dec-08 0:51 
GeneralRe: Image problem ? Pin
Code-o-mat24-Dec-08 6:03
Code-o-mat24-Dec-08 6:03 
AnswerRe: Image problem ? Pin
KASR124-Dec-08 1:47
KASR124-Dec-08 1:47 
Questionmedia streaming on a network! Pin
Mustapha Rédouane23-Dec-08 23:34
Mustapha Rédouane23-Dec-08 23:34 
AnswerRe: media streaming on a network! Pin
Naveen24-Dec-08 0:25
Naveen24-Dec-08 0:25 
AnswerRe: media streaming on a network! Pin
Varghese Paul M24-Dec-08 0:25
Varghese Paul M24-Dec-08 0:25 
AnswerRe: media streaming on a network! Pin
Hamid_RT24-Dec-08 0:58
Hamid_RT24-Dec-08 0:58 
QuestionPrint Dialog "Print To File" Pin
Paresh Chitte23-Dec-08 22:41
Paresh Chitte23-Dec-08 22:41 

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.