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

Managed C++/CLI

 
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!
QuestionClass Constructor in C++ Pin
Lamos Paul20-Feb-12 8:38
Lamos Paul20-Feb-12 8:38 
AnswerRe: Class Constructor in C++ Pin
Richard Andrew x6420-Feb-12 9:14
professionalRichard Andrew x6420-Feb-12 9:14 
GeneralRe: Class Constructor in C++ Pin
Lamos Paul20-Feb-12 9:45
Lamos Paul20-Feb-12 9:45 
AnswerRe: Class Constructor in C++ Pin
Maximilien20-Feb-12 9:43
Maximilien20-Feb-12 9:43 
GeneralRe: Class Constructor in C++ Pin
Lamos Paul20-Feb-12 10:50
Lamos Paul20-Feb-12 10:50 
GeneralRe: Class Constructor in C++ Pin
Richard MacCutchan20-Feb-12 22:11
mveRichard MacCutchan20-Feb-12 22:11 
AnswerRe: Class Constructor in C++ Pin
jschell20-Feb-12 10:29
jschell20-Feb-12 10:29 
QuestionFading a Form Pin
Lucidation18-Feb-12 7:15
Lucidation18-Feb-12 7:15 
AnswerRe: Fading a Form Pin
Philippe Mori18-Feb-12 8:28
Philippe Mori18-Feb-12 8:28 
GeneralRe: Fading a Form Pin
Lucidation18-Feb-12 13:55
Lucidation18-Feb-12 13:55 
AnswerRe: Fading a Form PinPopular
Luc Pattyn18-Feb-12 14:15
sitebuilderLuc Pattyn18-Feb-12 14:15 
QuestionCArchiveException exception is not caught in catch(CArchiveException* e) block Pin
ptr_Electron17-Feb-12 5:21
ptr_Electron17-Feb-12 5:21 
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
Mohibur Rashid17-Feb-12 5:51
professionalMohibur Rashid17-Feb-12 5:51 
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
ptr_Electron17-Feb-12 20:16
ptr_Electron17-Feb-12 20:16 
AnswerRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
Richard MacCutchan17-Feb-12 6:35
mveRichard MacCutchan17-Feb-12 6:35 
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
ptr_Electron17-Feb-12 20:14
ptr_Electron17-Feb-12 20:14 
GeneralRe: CArchiveException exception is not caught in catch(CArchiveException* e) block Pin
Richard MacCutchan17-Feb-12 21:10
mveRichard MacCutchan17-Feb-12 21:10 

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.