Click here to Skip to main content
15,891,828 members
Home / Discussions / C#
   

C#

 
QuestionDoes anyone know how to solve this Tree View issue??? Pin
trabiman11-Aug-03 4:30
trabiman11-Aug-03 4:30 
AnswerRe: Does anyone know how to solve this Tree View issue??? Pin
Heath Stewart11-Aug-03 4:53
protectorHeath Stewart11-Aug-03 4:53 
GeneralDirectX SDK question Pin
Radoslav Bielik11-Aug-03 3:09
Radoslav Bielik11-Aug-03 3:09 
GeneralRe: DirectX SDK - update Pin
Radoslav Bielik11-Aug-03 3:37
Radoslav Bielik11-Aug-03 3:37 
GeneralRe: DirectX SDK - update Pin
Heath Stewart11-Aug-03 5:17
protectorHeath Stewart11-Aug-03 5:17 
GeneralRe: DirectX SDK - update Pin
Radoslav Bielik11-Aug-03 8:39
Radoslav Bielik11-Aug-03 8:39 
GeneralGetting the active window handle Pin
CyberKewl11-Aug-03 2:31
CyberKewl11-Aug-03 2:31 
GeneralRe: Getting the active window handle Pin
Heath Stewart11-Aug-03 4:16
protectorHeath Stewart11-Aug-03 4:16 
I'm not sure what problems you're having, but the typical way is similar to the following pseudo code:
HWND hWnd = FindWindow(NULL, "MyApp");
RECT rc;
GetClientRect(hWnd, &rc);
HDC hDC = GetDC(hWnd);
HDC hCDC = CreateCompatibleDC(hDC);
int width = rc.right - rc.left;
int height = rc.bottom - rc.top;
BitBlt(hCDC, 0, 0, width, height, hDC, 0, 0, SRCCOPY | CAPTUREBLT);

Is this what you're doing (roughly)?

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Getting the active window handle Pin
CyberKewl11-Aug-03 4:57
CyberKewl11-Aug-03 4:57 
GeneralStreaming .wav file with CSound Pin
björka11-Aug-03 2:11
björka11-Aug-03 2:11 
Generalgantt chart Pin
Member 52474011-Aug-03 2:06
Member 52474011-Aug-03 2:06 
GeneralRe: gantt chart Pin
Heath Stewart11-Aug-03 2:23
protectorHeath Stewart11-Aug-03 2:23 
GeneralRe: gantt chart Pin
Member 52474011-Aug-03 2:45
Member 52474011-Aug-03 2:45 
GeneralRe: gantt chart Pin
Heath Stewart11-Aug-03 4:05
protectorHeath Stewart11-Aug-03 4:05 
Generaldestructor Vs Finalize Pin
devvvy11-Aug-03 1:45
devvvy11-Aug-03 1:45 
GeneralRe: destructor Vs Finalize Pin
Nish Nishant11-Aug-03 1:51
sitebuilderNish Nishant11-Aug-03 1:51 
GeneralRe: destructor Vs Finalize Pin
devvvy11-Aug-03 1:57
devvvy11-Aug-03 1:57 
GeneralRe: destructor Vs Finalize Pin
Nish Nishant11-Aug-03 2:06
sitebuilderNish Nishant11-Aug-03 2:06 
GeneralWhat can you do in destructor with .NET? Pin
devvvy11-Aug-03 2:52
devvvy11-Aug-03 2:52 
GeneralRe: What can you do in destructor with .NET? Pin
James T. Johnson11-Aug-03 10:50
James T. Johnson11-Aug-03 10:50 
GeneralRe: What can you do in destructor with .NET? Pin
Nish Nishant11-Aug-03 15:58
sitebuilderNish Nishant11-Aug-03 15:58 
GeneralUsing a .lib in c# Pin
Big Trev11-Aug-03 1:32
Big Trev11-Aug-03 1:32 
GeneralRe: Using a .lib in c# Pin
Anthony_Yio11-Aug-03 1:56
Anthony_Yio11-Aug-03 1:56 
GeneralConverting Binary to Hex Pin
eggie511-Aug-03 0:26
eggie511-Aug-03 0:26 
GeneralRe: Converting Binary to Hex Pin
Meysam Mahfouzi11-Aug-03 1:16
Meysam Mahfouzi11-Aug-03 1:16 

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.