Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Explain to me Net Bios Names! Pin
BaldwinMartin24-Nov-03 21:18
BaldwinMartin24-Nov-03 21:18 
GeneralRe: Explain to me Net Bios Names! Pin
Ilamparithi24-Nov-03 22:07
Ilamparithi24-Nov-03 22:07 
GeneralRe: Explain to me Net Bios Names! Pin
speedpacer25-Nov-03 13:20
speedpacer25-Nov-03 13:20 
GeneralRe: Explain to me Net Bios Names! Pin
BaldwinMartin25-Nov-03 15:10
BaldwinMartin25-Nov-03 15:10 
GeneralRe: Explain to me Net Bios Names! Pin
speedpacer25-Nov-03 16:21
speedpacer25-Nov-03 16:21 
GeneralRe: Explain to me Net Bios Names! Pin
BaldwinMartin25-Nov-03 16:27
BaldwinMartin25-Nov-03 16:27 
QuestionHow can I get the window handle from process id? Pin
Anonymous24-Nov-03 17:28
Anonymous24-Nov-03 17:28 
AnswerRe: How can I get the window handle from process id? Pin
John R. Shaw24-Nov-03 18:26
John R. Shaw24-Nov-03 18:26 
I quick look at MSDN did not produce the answer, but there is a function (I forget the name) that will give you a handle to a window based on the name of the window (name on title bar). Take a look around codeproject, codeguru, programmers haven, etc... There are articles that explane how to do what you want, if not directly then indirectly. For instance, there are programs that allow you to point at a window with the mouse and get all the information you want about it (up to and including capturing it to a bitmap file). I know, they use a function that gets the window handle based on given coordinates. Since you already have the process ID, you should be walk its' contents some how.

Well I hope this gave you some idea in which direction to look.

Good luck!

INTP
GeneralRe: How can I get the window handle from process id? Pin
Anonymous24-Nov-03 21:51
Anonymous24-Nov-03 21:51 
GeneralOriginal Window Procedure Pin
alex.barylski24-Nov-03 17:24
alex.barylski24-Nov-03 17:24 
GeneralRe: Original Window Procedure Pin
John R. Shaw24-Nov-03 18:05
John R. Shaw24-Nov-03 18:05 
GeneralRe: Original Window Procedure Pin
alex.barylski24-Nov-03 18:10
alex.barylski24-Nov-03 18:10 
GeneralRe: Original Window Procedure Pin
John R. Shaw24-Nov-03 18:42
John R. Shaw24-Nov-03 18:42 
GeneralRe: Original Window Procedure Pin
cmk24-Nov-03 21:57
cmk24-Nov-03 21:57 
GeneralActiveX Pin
vijisu24-Nov-03 16:26
vijisu24-Nov-03 16:26 
GeneralRe: ActiveX Pin
John R. Shaw24-Nov-03 18:36
John R. Shaw24-Nov-03 18:36 
GeneralHelp getting templates converted from a VC6 to VS.NET 2003 Pin
Anonymous24-Nov-03 15:14
Anonymous24-Nov-03 15:14 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Christian Graus24-Nov-03 15:26
protectorChristian Graus24-Nov-03 15:26 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Anonymous24-Nov-03 15:31
Anonymous24-Nov-03 15:31 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Christian Graus24-Nov-03 15:33
protectorChristian Graus24-Nov-03 15:33 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Anonymous24-Nov-03 16:17
Anonymous24-Nov-03 16:17 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Anonymous24-Nov-03 16:21
Anonymous24-Nov-03 16:21 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Christian Graus24-Nov-03 16:44
protectorChristian Graus24-Nov-03 16:44 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Anonymous24-Nov-03 17:11
Anonymous24-Nov-03 17:11 
GeneralRe: Help getting templates converted from a VC6 to VS.NET 2003 Pin
Christian Graus24-Nov-03 16:42
protectorChristian Graus24-Nov-03 16:42 

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.