views:

205

answers:

0

Whats in my project(C++/CLI): - dllimport some un managed dlls - wndproc is override in the form - Treads are there - Times used - I used notify icon so used myForm->Hide() and myForm->Show()

I used the following line but MyMainForm::onPowerModeChanged method never fires... SystemEvents::PowerModeChanged += gcnew PowerModeChangedEventHandler(this, MyMainForm::onPowerModeChanged);

I tried with a fresh project, and it works just fine. Whats the problem with my existing project.

What to do ?