Click here to Skip to main content
15,916,463 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: In Win32 OS, is single-precsion float faster than double? Pin
Sean old school game guy7-May-12 10:55
Sean old school game guy7-May-12 10:55 
QuestionFmod include errors Pin
Member 79972644-Apr-12 13:55
Member 79972644-Apr-12 13:55 
AnswerRe: Fmod include errors Pin
Richard Andrew x644-Apr-12 17:40
professionalRichard Andrew x644-Apr-12 17:40 
QuestionVC++: cant manipulate forms Pin
Member 875813424-Mar-12 22:05
Member 875813424-Mar-12 22:05 
AnswerRe: VC++: cant manipulate forms Pin
f907334125-Mar-12 7:17
f907334125-Mar-12 7:17 
AnswerRe: VC++: cant manipulate forms Pin
Albert Holguin25-Mar-12 15:12
professionalAlbert Holguin25-Mar-12 15:12 
QuestionReading connection string from App.config using LINQ Pin
Wheels01219-Mar-12 4:37
Wheels01219-Mar-12 4:37 
AnswerRe: Reading connection string from App.config using LINQ Pin
Eddy Vluggen5-Apr-12 1:31
professionalEddy Vluggen5-Apr-12 1:31 
GeneralRe: Reading connection string from App.config using LINQ Pin
Wheels0125-Apr-12 2:08
Wheels0125-Apr-12 2:08 
Suggestionhelp a beginner please Pin
invincible bar17-Mar-12 23:47
invincible bar17-Mar-12 23:47 
GeneralRe: help a beginner please Pin
Richard MacCutchan18-Mar-12 2:20
mveRichard MacCutchan18-Mar-12 2:20 
GeneralRe: help a beginner please Pin
Albert Holguin21-Mar-12 7:50
professionalAlbert Holguin21-Mar-12 7:50 
QuestionPlease explain below code.... Pin
Member 154408715-Mar-12 5:44
Member 154408715-Mar-12 5:44 
AnswerRe: Please explain below code.... Pin
Richard MacCutchan15-Mar-12 6:03
mveRichard MacCutchan15-Mar-12 6:03 
GeneralRe: Please explain below code.... Pin
Member 154408715-Mar-12 6:22
Member 154408715-Mar-12 6:22 
GeneralRe: Please explain below code.... Pin
Richard MacCutchan15-Mar-12 6:54
mveRichard MacCutchan15-Mar-12 6:54 
Questionwhy construction called when i overload the operator new in c++ by calling malloc Pin
AARON_ZXF2-Mar-12 23:05
AARON_ZXF2-Mar-12 23:05 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Richard MacCutchan2-Mar-12 23:16
mveRichard MacCutchan2-Mar-12 23:16 
GeneralRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Albert Holguin21-Mar-12 8:50
professionalAlbert Holguin21-Mar-12 8:50 
GeneralRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Richard MacCutchan27-Mar-12 22:03
mveRichard MacCutchan27-Mar-12 22:03 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Philippe Mori3-Mar-12 5:09
Philippe Mori3-Mar-12 5:09 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Albert Holguin21-Mar-12 8:45
professionalAlbert Holguin21-Mar-12 8:45 
AnswerRe: why construction called when i overload the operator new in c++ by calling malloc Pin
Philippe Mori6-Apr-12 14:43
Philippe Mori6-Apr-12 14:43 
QuestionIs it safe to pass CComVariant declared locally ot other function Pin
ptr_Electron21-Feb-12 1:57
ptr_Electron21-Feb-12 1:57 
QuestionMouseEnter and MouseLeave Events Pin
Lucidation20-Feb-12 11:54
Lucidation20-Feb-12 11:54 
I'm new to C++ and am running into another hicucp I'm hoping someone can help me with. I'm looking to change the opacity on a form when the mouse enters it (to 100%), and then dim it again when the mouse leaves the Windows form. I can almost get things to work, but I'm seeing oddities that I think are due to the fact that it "enters" other controls that are on the form. Here's what I've been tinkering around with:

C#
private: System::Void MyForm_MouseHover(System::Object^  sender, System::EventArgs^  e) {
    this->Opacity = 1.00;
}

private: System::Void MyForm_MouseLeave(System::Object^  sender, System::EventArgs^  e) {
    this->Opacity = 0.50;
}

private: System::Void MyForm_MouseEnter(System::Object^  sender, System::EventArgs^  e) {
    this->Opacity = 1.00;
}

Can someone explain to me how I can prevent my code from repeatedly reading things until the cursor leaves the entire form?
Thanks!

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.