Click here to Skip to main content
16,013,918 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: calling Add printer wizard Pin
haimd4-Apr-02 1:59
haimd4-Apr-02 1:59 
GeneralConnection with a remote machine Pin
Yamuna4-Apr-02 0:57
Yamuna4-Apr-02 0:57 
QuestionCould I get the main window's handle of a process by the process's handle? Pin
liyuan-rey4-Apr-02 0:26
liyuan-rey4-Apr-02 0:26 
AnswerRe: Could I get the main window's handle of a process by the process's handle? Pin
Joaquín M López Muñoz4-Apr-02 1:32
Joaquín M López Muñoz4-Apr-02 1:32 
GeneralRe: Could I get the main window's handle of a process by the process's handle? Pin
liyuan-rey4-Apr-02 15:48
liyuan-rey4-Apr-02 15:48 
GeneralRe: Could I get the main window's handle of a process by the process's handle? Pin
Joaquín M López Muñoz4-Apr-02 18:39
Joaquín M López Muñoz4-Apr-02 18:39 
GeneralRe: Could I get the main window's handle of a process by the process's handle? Pin
liyuan-rey7-Apr-02 16:20
liyuan-rey7-Apr-02 16:20 
GeneralModule path Pin
3-Apr-02 23:55
suss3-Apr-02 23:55 
Hi,

in my app I have the following code :

HWND hWnd = FindWindow(NULL, "Any window...");
(...)
char strClassName[64];
GetClassName(hWnd, strClassName, sizeof(strClassName));

Now that I have the handle and the class name of the window, is it possible to get the path of the program that is attached with the handle, like GetModuleFileName(NULL, ...) for my own app ?

Thanks in advance
GeneralRe: Module path Pin
Joaquín M López Muñoz4-Apr-02 2:13
Joaquín M López Muñoz4-Apr-02 2:13 
GeneralGUID structure inside the managed world Pin
SasaT3-Apr-02 23:44
SasaT3-Apr-02 23:44 
Questionsimple Question? Pin
Neha3-Apr-02 22:54
Neha3-Apr-02 22:54 
AnswerRe: simple Question? Pin
Mazdak4-Apr-02 0:10
Mazdak4-Apr-02 0:10 
GeneralInstall on client computer MsXML 4.0 Pin
Braulio Dez3-Apr-02 21:59
Braulio Dez3-Apr-02 21:59 
GeneralRe: Install on client computer MsXML 4.0 Pin
Michael A. Barnhart4-Apr-02 8:03
Michael A. Barnhart4-Apr-02 8:03 
GeneralAccess Rights! Pin
hph3-Apr-02 21:40
hph3-Apr-02 21:40 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:14
Tomasz Sowinski4-Apr-02 6:14 
GeneralRe: Access Rights! Pin
hph4-Apr-02 6:26
hph4-Apr-02 6:26 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:29
Tomasz Sowinski4-Apr-02 6:29 
GeneralRe: Access Rights! Pin
hph4-Apr-02 6:33
hph4-Apr-02 6:33 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:37
Tomasz Sowinski4-Apr-02 6:37 
GeneralRe: Access Rights! Pin
hph4-Apr-02 6:44
hph4-Apr-02 6:44 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:55
Tomasz Sowinski4-Apr-02 6:55 
GeneralRe: Access Rights! Pin
hph4-Apr-02 7:30
hph4-Apr-02 7:30 
GeneralRe: Access Rights! Pin
hph4-Apr-02 9:20
hph4-Apr-02 9:20 
QuestionFunction _beginthreadex not recognized? Pin
NicholasCougar3-Apr-02 21:38
NicholasCougar3-Apr-02 21:38 

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.