Click here to Skip to main content
15,919,434 members
Home / Discussions / C#
   

C#

 
GeneralRe: is it possible ? Pin
imran_rafique23-Aug-02 12:36
imran_rafique23-Aug-02 12:36 
GeneralProblem with System.runtime.remoting.channel.tcp library... Pin
Vortex23-Aug-02 8:29
Vortex23-Aug-02 8:29 
GeneralRe: Problem with System.runtime.remoting.channel.tcp library... Pin
James T. Johnson23-Aug-02 8:38
James T. Johnson23-Aug-02 8:38 
GeneralTraceHook or something better Pin
poodull23-Aug-02 6:00
poodull23-Aug-02 6:00 
Generaldraw a single point Pin
Rüpel23-Aug-02 2:17
Rüpel23-Aug-02 2:17 
GeneralRe: draw a single point Pin
Stephane Rodriguez.23-Aug-02 4:14
Stephane Rodriguez.23-Aug-02 4:14 
GeneralRe: draw a single point Pin
Rüpel23-Aug-02 7:17
Rüpel23-Aug-02 7:17 
GeneralRe: draw a single point Pin
Stephane Rodriguez.23-Aug-02 7:37
Stephane Rodriguez.23-Aug-02 7:37 
Here is the code,
// -->declaration
[DllImport("gdi32.dll", CharSet=CharSet.Auto)]
static public extern int SetPixel(IntPtr hdc, int x, int y, int rgb); // 


// -->usage
// assumption : you have a HDC in hand
// cast your HDC to (IntPtr)
// cast your COLORREF to (int)
SetPixel(dc,x,y,rgb);




And I swallow a small raisin.

GeneralRe: draw a single point Pin
Rüpel27-Aug-02 1:01
Rüpel27-Aug-02 1:01 
GeneralRe: draw a single point Pin
Stephane Rodriguez.27-Aug-02 1:11
Stephane Rodriguez.27-Aug-02 1:11 
GeneralRe: draw a single point Pin
Rüpel27-Aug-02 3:37
Rüpel27-Aug-02 3:37 
GeneralRe: draw a single point Pin
Rüpel26-Aug-02 22:01
Rüpel26-Aug-02 22:01 
GeneralRe: draw a single point Pin
Rüpel26-Aug-02 22:06
Rüpel26-Aug-02 22:06 
GeneralRe: draw a single point Pin
Philip Fitzsimons23-Aug-02 4:21
Philip Fitzsimons23-Aug-02 4:21 
GeneralRe: draw a single point Pin
Rüpel23-Aug-02 7:34
Rüpel23-Aug-02 7:34 
GeneralException in NEt application on W98 Pin
EdgarBM23-Aug-02 0:57
EdgarBM23-Aug-02 0:57 
GeneralRe: Exception in NEt application on W98 Pin
David Stone23-Aug-02 6:56
sitebuilderDavid Stone23-Aug-02 6:56 
GeneralRe: Exception in NEt application on W98 Pin
EdgarBM25-Aug-02 21:44
EdgarBM25-Aug-02 21:44 
GeneralDirectX Pin
Philip Fitzsimons22-Aug-02 23:01
Philip Fitzsimons22-Aug-02 23:01 
GeneralRe: DirectX Pin
Rüpel23-Aug-02 2:36
Rüpel23-Aug-02 2:36 
General.Net framework source code Pin
Stephane Rodriguez.22-Aug-02 22:36
Stephane Rodriguez.22-Aug-02 22:36 
GeneralRe: .Net framework source code Pin
leppie23-Aug-02 3:26
leppie23-Aug-02 3:26 
GeneralRe: .Net framework source code Pin
Stephane Rodriguez.23-Aug-02 4:00
Stephane Rodriguez.23-Aug-02 4:00 
GeneralRe: .Net framework source code Pin
James T. Johnson23-Aug-02 4:37
James T. Johnson23-Aug-02 4:37 
GeneralRe: .Net framework source code Pin
Stephane Rodriguez.23-Aug-02 4:40
Stephane Rodriguez.23-Aug-02 4:40 

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.