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

Managed C++/CLI

 
Questionclasses a few questions Pin
Xeef26-May-07 11:41
Xeef26-May-07 11:41 
AnswerRe: classes a few questions Pin
Xeef26-May-07 22:03
Xeef26-May-07 22:03 
AnswerRe: classes a few questions Pin
Christian Graus27-May-07 0:09
protectorChristian Graus27-May-07 0:09 
QuestionRETURN VALUE TO WHERE Pin
KARFER25-May-07 6:19
KARFER25-May-07 6:19 
AnswerRe: RETURN VALUE TO WHERE [modified] Pin
Mark Salsbery25-May-07 6:19
Mark Salsbery25-May-07 6:19 
AnswerRe: RETURN VALUE TO WHERE Pin
Christian Graus25-May-07 9:57
protectorChristian Graus25-May-07 9:57 
QuestionRe: RETURN VALUE TO WHERE Pin
Hamid_RT28-May-07 7:29
Hamid_RT28-May-07 7:29 
Questionhow do i remove a MouseEventHandler [modified] Pin
Xeef25-May-07 3:14
Xeef25-May-07 3:14 
hi all
stuckt agein
hope i not highjack this hole topic WTF | :WTF:

void Disp::Lock_Down(System::Object ^o, System::Windows::Forms::MouseEventArgs ^e){<br />
	Lock->MouseMove += gcnew System::Windows::Forms::MouseEventHandler( this, &Disp::Lock_Drag );<br />
	MousePosition=MainF->MousePosition;<br />
}<br />
void Disp::Lock_Up(System::Object ^o, System::Windows::Forms::MouseEventArgs ^e){<br />
>>>>>>>>>>>>>> not like this but how ???  :confused:	<br />
	Lock->MouseMove->Remove(this, &Disp::Lock_Drag);<br />
<<<<<<<<<<<<<<<br />
}



-- modified at 9:48 Friday 25th May, 2007

this works

void Disp::Lock_Down(System::Object ^o, System::Windows::Forms::MouseEventArgs ^e){<br />
	t = gcnew System::Windows::Forms::MouseEventHandler( this, &Disp::Lock_Drag );<br />
	Lock->MouseMove += t;<br />
	MousePosition=MainF->MousePosition;<br />
}<br />
void Disp::Lock_Up(System::Object ^o, System::Windows::Forms::MouseEventArgs ^e){<br />
	Lock->MouseMove -= t;<br />
}


BUT i realy not like "t"
is there a way to get it somehow else mayby out of Object ^o or MouseEventArgs ^e
or how ever whit out the need to store it by my self
Questionc++ coding Pin
farrakh25-May-07 0:17
farrakh25-May-07 0:17 
AnswerRe: c++ coding Pin
led mike25-May-07 5:09
led mike25-May-07 5:09 
GeneralRe: c++ coding Pin
Mark Salsbery25-May-07 6:19
Mark Salsbery25-May-07 6:19 
GeneralRe: c++ coding Pin
Mark Salsbery25-May-07 10:48
Mark Salsbery25-May-07 10:48 
AnswerRe: c++ coding Pin
Christian Graus25-May-07 9:58
protectorChristian Graus25-May-07 9:58 
GeneralRe: c++ coding Pin
Hamid_RT28-May-07 7:25
Hamid_RT28-May-07 7:25 
Questionquestion Pin
faradgi24-May-07 13:20
faradgi24-May-07 13:20 
AnswerRe: question Pin
Christian Graus24-May-07 20:29
protectorChristian Graus24-May-07 20:29 
AnswerRe: question Pin
Kevin McFarlane26-May-07 6:20
Kevin McFarlane26-May-07 6:20 
AnswerRe: question Pin
Hamid_RT28-May-07 7:30
Hamid_RT28-May-07 7:30 
Questiondatagridview data Pin
Xeef24-May-07 11:19
Xeef24-May-07 11:19 
AnswerRe: datagridview data Pin
teejayem24-May-07 12:59
teejayem24-May-07 12:59 
GeneralRe: datagridview data Pin
Xeef24-May-07 13:19
Xeef24-May-07 13:19 
Questionconver size_t to System::String Pin
Xeef23-May-07 8:40
Xeef23-May-07 8:40 
AnswerRe: conver size_t to System::String Pin
led mike23-May-07 8:48
led mike23-May-07 8:48 
GeneralRe: conver size_t to System::String Pin
Xeef23-May-07 9:07
Xeef23-May-07 9:07 
AnswerRe: conver size_t to System::String Pin
Mark Salsbery23-May-07 9:02
Mark Salsbery23-May-07 9:02 

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.