Click here to Skip to main content
16,006,535 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do you handle inserting " ' " character in program? Pin
Hadi Fakhreddine12-Sep-04 1:42
Hadi Fakhreddine12-Sep-04 1:42 
AnswerRe: How do you handle inserting " ' " character in program? Pin
mav.northwind12-Sep-04 1:47
mav.northwind12-Sep-04 1:47 
GeneralIllegal Cross Thread Opperation Pin
eggie511-Sep-04 15:37
eggie511-Sep-04 15:37 
GeneralRe: Illegal Cross Thread Opperation Pin
eggie511-Sep-04 17:41
eggie511-Sep-04 17:41 
GeneralTrackBar in a ToolStrip Pin
eggie511-Sep-04 10:31
eggie511-Sep-04 10:31 
GeneralCapturing Window, I got C++ code - please help! Pin
nantcom11-Sep-04 8:21
nantcom11-Sep-04 8:21 
GeneralRe: Capturing Window, I got C++ code - please help! Pin
Nick Parker11-Sep-04 10:05
protectorNick Parker11-Sep-04 10:05 
GeneralRe: Capturing Window, I got C++ code - please help! Pin
nantcom11-Sep-04 19:20
nantcom11-Sep-04 19:20 
Thanks! The code works, but it require the window you want to capture to be active.
Otherwise, you will get whatever inside the area of that window :S

i change the capture code from:
<br />
GDI32.BitBlt(capHDC,0,0,width,height,wndHDC,x,y,GDI32.SRCCOPY); <br />


to:
<br />
USER32.SendMessage( wndHWND, Constants.WM_PRINT, capHDC, (IntPtr)( Constants.PRF_CHILDREN + Constants.PRF_CLIENT + Constants.PRF_OWNED ) );<br />


and i can capture anything anywhere - even the window is not inside the screen - but the problem is...i can't capture another application's window!!! Confused | :confused:

what happended this time ???
Do i have to get special permission for my application to send messsage to another window?
GeneralFound the way! Pin
nantcom11-Sep-04 22:10
nantcom11-Sep-04 22:10 
GeneralBattery status in c# Pin
nocture11-Sep-04 6:43
nocture11-Sep-04 6:43 
GeneralRe: Battery status in c# Pin
Nick Parker11-Sep-04 7:26
protectorNick Parker11-Sep-04 7:26 
GeneralRe: Battery status in c# Pin
nocture11-Sep-04 7:53
nocture11-Sep-04 7:53 
GeneralRe: Battery status in c# Pin
Nick Parker11-Sep-04 8:15
protectorNick Parker11-Sep-04 8:15 
GeneralRe: Battery status in c# Pin
nocture11-Sep-04 8:29
nocture11-Sep-04 8:29 
GeneralListView DisplayMember Pin
eggie511-Sep-04 4:46
eggie511-Sep-04 4:46 
GeneralRe: ListView DisplayMember Pin
Baris Kurtlutepe11-Sep-04 8:04
Baris Kurtlutepe11-Sep-04 8:04 
GeneralRe: ListView DisplayMember Pin
eggie511-Sep-04 10:29
eggie511-Sep-04 10:29 
GeneralHelp with XML Pin
krisst_k10-Sep-04 23:31
krisst_k10-Sep-04 23:31 
GeneralRe: Help with XML Pin
Anonymous10-Sep-04 23:33
Anonymous10-Sep-04 23:33 
GeneralConverting Keys to Chars Pin
User 12301610-Sep-04 23:25
User 12301610-Sep-04 23:25 
GeneralRe: Converting Keys to Chars Pin
EssOEss11-Sep-04 1:10
EssOEss11-Sep-04 1:10 
GeneralRe: Converting Keys to Chars Pin
User 12301612-Sep-04 10:30
User 12301612-Sep-04 10:30 
GeneralFinally Pin
User 12301612-Sep-04 22:45
User 12301612-Sep-04 22:45 
GeneralRemote FileExists problem Pin
DougW4810-Sep-04 20:47
DougW4810-Sep-04 20:47 
GeneralRe: Remote FileExists problem Pin
Salil Khedkar13-Sep-04 1:41
Salil Khedkar13-Sep-04 1:41 

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.