Click here to Skip to main content
15,914,417 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ethernet-card choice Pin
Musen8025-Oct-04 0:34
Musen8025-Oct-04 0:34 
QuestionBest approach for image work? GDI+, DirectX or something else? Pin
srev22-Oct-04 0:15
srev22-Oct-04 0:15 
AnswerRe: Best approach for image work? GDI+, DirectX or something else? Pin
David Chamberlain22-Oct-04 3:57
David Chamberlain22-Oct-04 3:57 
GeneralRe: Best approach for image work? GDI+, DirectX or something else? Pin
srev22-Oct-04 4:24
srev22-Oct-04 4:24 
GeneralRe: Best approach for image work? GDI+, DirectX or something else? Pin
David Chamberlain22-Oct-04 4:40
David Chamberlain22-Oct-04 4:40 
GeneralControl over the PopertySheet Pin
Cedric Moonen21-Oct-04 23:58
Cedric Moonen21-Oct-04 23:58 
GeneralRe: Control over the PopertySheet Pin
Blake Miller22-Oct-04 4:14
Blake Miller22-Oct-04 4:14 
Generalrelation between Mouse event and show in taskbar Pin
yu-yu21-Oct-04 23:52
yu-yu21-Oct-04 23:52 
Hello,

I have a problem, this is the following.
I make a a form. There is a button on the form.
The form have a event execute ShowInTaskBar is false.
The Button have 3 event, 1st event is MouseLeave event, this is BackColor of it is black, 2nd event is MouseEnter event, this is BackColor of it is white, 3rd event is ButtonClick event, this is ShowInTaskBar is true.
Before I click a button, mouse event is enable. but after I do it, mouse event is disable. This condition is a button's backcolor is white, not change black yet.

private void button1_MouseLeave(object sender, System.EventArgs e)
{
button1.BackColor=Color.Black;
}
private void button1_MouseEnter(object sender, System.EventArgs e)
{
button1.BackColor=Color.White;
}
private void Form1_Load(object sender, System.EventArgs e)
{
this.ShowInTaskbar=false;
}
private void button1_Click(object sender, System.EventArgs e)
{
this.ShowInTaskbar=true;
}

I think this is bug of .NET. But I resolve this problem. If you have some solutions, please tell me.

Cheers,

yu-yu
Generaldisplay bitmap on a control botton. Pin
Ibana21-Oct-04 23:26
Ibana21-Oct-04 23:26 
GeneralRe: display bitmap on a control botton. Pin
Ivan Cachicatari22-Oct-04 3:44
Ivan Cachicatari22-Oct-04 3:44 
Questionhow to use wave file in vc++ Pin
vc-programmer-21-Oct-04 21:28
vc-programmer-21-Oct-04 21:28 
AnswerRe: how to use wave file in vc++ Pin
Blake Miller22-Oct-04 4:16
Blake Miller22-Oct-04 4:16 
AnswerRe: how to use wave file in vc++ Pin
David Crow22-Oct-04 4:33
David Crow22-Oct-04 4:33 
QuestionOpen dialog? Pin
Larsson21-Oct-04 20:40
Larsson21-Oct-04 20:40 
AnswerRe: Open dialog? Pin
C_M_21-Oct-04 21:17
C_M_21-Oct-04 21:17 
GeneralRe: Open dialog? Pin
Larsson21-Oct-04 21:19
Larsson21-Oct-04 21:19 
GeneralRe: Open dialog? Pin
benjymous21-Oct-04 23:07
benjymous21-Oct-04 23:07 
GeneralRe: Open dialog? Pin
Larsson21-Oct-04 23:35
Larsson21-Oct-04 23:35 
GeneralRe: Open dialog? Pin
Larsson23-Oct-04 6:53
Larsson23-Oct-04 6:53 
GeneralRe: Open dialog? Pin
benjymous23-Oct-04 20:17
benjymous23-Oct-04 20:17 
AnswerRe: Open dialog? Pin
BlackDice22-Oct-04 3:19
BlackDice22-Oct-04 3:19 
GeneralRe: Open dialog? Pin
Larsson23-Oct-04 6:54
Larsson23-Oct-04 6:54 
AnswerRe: Open dialog? Pin
David Crow22-Oct-04 4:40
David Crow22-Oct-04 4:40 
GeneralRe: Open dialog? Pin
Larsson23-Oct-04 6:54
Larsson23-Oct-04 6:54 
GeneralRe: Open dialog? Pin
David Crow25-Oct-04 2:50
David Crow25-Oct-04 2:50 

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.