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

Managed C++/CLI

 
GeneralRe: RTC issue Pin
Christian Graus17-Oct-06 22:50
protectorChristian Graus17-Oct-06 22:50 
AnswerRe: RTC issue Pin
Cristi B17-Oct-06 23:52
Cristi B17-Oct-06 23:52 
Questionconsole app: methods autocompletion (get method name from string parameter of invoker)[modified] Pin
n-j16-Oct-06 23:45
n-j16-Oct-06 23:45 
QuestionA strange problem Pin
minihotto16-Oct-06 23:41
minihotto16-Oct-06 23:41 
AnswerRe: A strange problem Pin
Christian Graus17-Oct-06 7:20
protectorChristian Graus17-Oct-06 7:20 
Questionexecuting a member function in a separate thread Pin
singersinger15-Oct-06 23:40
singersinger15-Oct-06 23:40 
AnswerRe: executing a member function in a separate thread Pin
Christian Graus17-Oct-06 7:21
protectorChristian Graus17-Oct-06 7:21 
QuestionHow to get pixel value using WinForm Pin
uusheikh15-Oct-06 21:12
uusheikh15-Oct-06 21:12 
Hi,
I want to obtain the pixel value of any pixel on the form (dialog) during mouse move.

In MFC, i can get the pixel value using

CDC *pDC = this->GetDC();<br />
COLORREF clr = pDC->GetPixel(x,y); // x,y is the coordinate i got from on mouse move<br />
ReleaseDC(pDC);


How do i do the same using managed C++.
I added an event OnMouseMove, and i can get the pixel coordinate using
e->X and e->Y;

How do i get the pixel value? I tried this
Graphics ^g = this->CreateGraphics();

then i do not know what else to do...

Usman
AnswerRe: How to get pixel value using WinForm Pin
Christian Graus17-Oct-06 7:22
protectorChristian Graus17-Oct-06 7:22 
GeneralRe: How to get pixel value using WinForm Pin
uusheikh17-Oct-06 23:03
uusheikh17-Oct-06 23:03 
GeneralRe: How to get pixel value using WinForm Pin
uusheikh17-Oct-06 23:06
uusheikh17-Oct-06 23:06 
QuestionRUNGE-KUTTA ALGORITH FOR SECOND-ORDER ODE Pin
sahoong15-Oct-06 6:57
sahoong15-Oct-06 6:57 
AnswerRe: RUNGE-KUTTA ALGORITH FOR SECOND-ORDER ODE Pin
Christian Graus17-Oct-06 7:23
protectorChristian Graus17-Oct-06 7:23 
GeneralRe: RUNGE-KUTTA ALGORITH FOR SECOND-ORDER ODE Pin
sahoong18-Oct-06 3:47
sahoong18-Oct-06 3:47 
QuestionWinodws Media Player Visualization Pin
ceejeeb14-Oct-06 6:37
ceejeeb14-Oct-06 6:37 
QuestionC++/CLI managed code calling incorrect methods on unmanaged C++ classes Pin
dhazen13-Oct-06 5:20
dhazen13-Oct-06 5:20 
AnswerRe: C++/CLI managed code calling incorrect methods on unmanaged C++ classes Pin
dhazen25-Oct-06 10:13
dhazen25-Oct-06 10:13 
Questionproblem with converting CString to int Pin
singersinger11-Oct-06 1:33
singersinger11-Oct-06 1:33 
AnswerRe: problem with converting CString to int [modified] Pin
Epi11-Oct-06 2:36
Epi11-Oct-06 2:36 
AnswerRe: problem with converting CString to int Pin
led mike11-Oct-06 4:43
led mike11-Oct-06 4:43 
AnswerRe: problem with converting CString to int Pin
tydok18-Oct-06 4:02
tydok18-Oct-06 4:02 
QuestionFrom CString to String^ Pin
Epi11-Oct-06 0:41
Epi11-Oct-06 0:41 
AnswerRe: From CString to String^ Pin
Nish Nishant11-Oct-06 4:08
sitebuilderNish Nishant11-Oct-06 4:08 
Questiontreeview with windows forms Pin
Epi10-Oct-06 2:12
Epi10-Oct-06 2:12 
AnswerRe: treeview with windows forms Pin
jhwurmbach10-Oct-06 2:35
jhwurmbach10-Oct-06 2:35 

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.