Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
GeneralShowing what folders exist Pin
eggie55-Jul-03 19:18
eggie55-Jul-03 19:18 
GeneralRe: Showing what folders exist Pin
James T. Johnson6-Jul-03 2:44
James T. Johnson6-Jul-03 2:44 
GeneralRe: Showing what folders exist Pin
eggie56-Jul-03 10:13
eggie56-Jul-03 10:13 
GeneralRe: Showing what folders exist Pin
MrEyes7-Jul-03 6:38
MrEyes7-Jul-03 6:38 
GeneralRe: Showing what folders exist Pin
eggie57-Jul-03 10:54
eggie57-Jul-03 10:54 
GeneralRe: Showing what folders exist Pin
eggie57-Jul-03 11:05
eggie57-Jul-03 11:05 
GeneralRe: Showing what folders exist Pin
MrEyes7-Jul-03 23:08
MrEyes7-Jul-03 23:08 
GeneralApi Question. Pin
jtmtv185-Jul-03 11:45
jtmtv185-Jul-03 11:45 
Hi peoples. I have a quick question reguarding API usuage....im trying to create collision detection by grapping just the color of the pixel on the outer edge of my object. This works okay for me using the API call GetPixel
the problem lies in that i have to get the pointer to the GetPixel call for this i have been using GetDesktopWindow() another api call that returns the Handle for the graphics on the entire desktop. Now this worked.. the problem is that its the hole desktop i.e everything drawn on it....if im trying to get the color in ONLY my program and someone opens a window above mine the GetPixel will grap the pixel from the open window not my program. What im looking for is a way for the API to only look at my program. Is there a easy / way to do this ?

Jesse M

The Code Project Is Your Friend...
GeneralRe: Api Question. Pin
James T. Johnson6-Jul-03 2:48
James T. Johnson6-Jul-03 2:48 
GeneralRe: Api Question. Pin
jtmtv189-Jul-03 15:50
jtmtv189-Jul-03 15:50 
GeneralMDI child's Enter leave called multiple times Pin
Mayank Goyal5-Jul-03 2:58
Mayank Goyal5-Jul-03 2:58 
GeneralC# Theory question Pin
.gonad5-Jul-03 2:37
.gonad5-Jul-03 2:37 
GeneralRe: C# Theory question Pin
leppie5-Jul-03 2:46
leppie5-Jul-03 2:46 
GeneralRe: C# Theory question Pin
.gonad5-Jul-03 3:11
.gonad5-Jul-03 3:11 
GeneralRe: C# Theory question Pin
Nathan Blomquist5-Jul-03 4:08
Nathan Blomquist5-Jul-03 4:08 
GeneralRe: C# Theory question Pin
.gonad5-Jul-03 6:40
.gonad5-Jul-03 6:40 
GeneralRe: C# Theory question Pin
Nathan Blomquist6-Jul-03 7:52
Nathan Blomquist6-Jul-03 7:52 
GeneralRe: C# Theory question Pin
leppie5-Jul-03 10:12
leppie5-Jul-03 10:12 
GeneralRe: C# Theory question Pin
James T. Johnson6-Jul-03 4:04
James T. Johnson6-Jul-03 4:04 
GeneralRe: C# Theory question Pin
leppie6-Jul-03 8:26
leppie6-Jul-03 8:26 
GeneralDisplaced text Pin
Zibar5-Jul-03 1:07
sussZibar5-Jul-03 1:07 
GeneralRe: Displaced text Pin
leppie5-Jul-03 2:43
leppie5-Jul-03 2:43 
GeneralGame development Pin
Xedecimal4-Jul-03 21:11
Xedecimal4-Jul-03 21:11 
GeneralRunning another application in C# Pin
pdunn4-Jul-03 21:00
pdunn4-Jul-03 21:00 
GeneralRe: Running another application in C# Pin
J. Dunlap4-Jul-03 21:35
J. Dunlap4-Jul-03 21: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.