Click here to Skip to main content
16,005,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCan't Get Started Pin
lynks21-Apr-04 15:52
lynks21-Apr-04 15:52 
GeneralRe: Can't Get Started Pin
Christian Graus21-Apr-04 15:54
protectorChristian Graus21-Apr-04 15:54 
GeneralRe: Can't Get Started Pin
Maxwell Chen21-Apr-04 16:56
Maxwell Chen21-Apr-04 16:56 
Generalbmp and jpg Pin
gongming21-Apr-04 15:23
gongming21-Apr-04 15:23 
GeneralRe: bmp and jpg Pin
Christian Graus21-Apr-04 15:55
protectorChristian Graus21-Apr-04 15:55 
GeneralRe: bmp and jpg Pin
pubududilena21-Apr-04 18:29
pubududilena21-Apr-04 18:29 
GeneralRe: bmp and jpg Pin
NewtonOfComputers21-Apr-04 19:25
NewtonOfComputers21-Apr-04 19:25 
QuestionHow to determine a classname of a program? Pin
IronMaiden42021-Apr-04 15:17
IronMaiden42021-Apr-04 15:17 
I am trying to determine the classname for a program since the program's title changes depending on what file is open. I have MSVS and tried Spy++ but that classname didnt work for some reason. I am trying to do something like this (set for calculator for test purposes)
HWND hWnd1;
hWnd1 = FindWindow("SciCalc", NULL);
SendMessage(hWnd1, WM_CLOSE,0,0);

Now SciCalc is the classname Spy++ shows but it wont even shut down calculator, whereas if I put the application name as "Calculator" then it will close the program.

So I guess my question is how can I determine a classname to use with FindWindow.
AnswerRe: How to determine a classname of a program? Pin
Prakash Nadar21-Apr-04 16:02
Prakash Nadar21-Apr-04 16:02 
GeneralRe: How to determine a classname of a program? Pin
IronMaiden42021-Apr-04 21:28
IronMaiden42021-Apr-04 21:28 
GeneralRe: How to determine a classname of a program? Pin
Jonas Larsson22-Apr-04 1:46
Jonas Larsson22-Apr-04 1:46 
General[q]win32 mouse message problem. Pin
yahooii21-Apr-04 14:21
yahooii21-Apr-04 14:21 
GeneralRe: [q]win32 mouse message problem. Pin
John M. Drescher21-Apr-04 15:59
John M. Drescher21-Apr-04 15:59 
QuestionHow to programmatically start the Search Assistant. Pin
Defenestration21-Apr-04 13:46
Defenestration21-Apr-04 13:46 
AnswerRe: How to programmatically start the Search Assistant. Pin
ThatsAlok22-Apr-04 4:26
ThatsAlok22-Apr-04 4:26 
GeneralCustomDraw a bitmap in a ListView Pin
Hanleyk121-Apr-04 13:42
Hanleyk121-Apr-04 13:42 
GeneralMFC 7 and Windows 95 Pin
Irish_GUI21-Apr-04 12:10
Irish_GUI21-Apr-04 12:10 
GeneralRe: MFC 7 and Windows 95 Pin
Christian Graus21-Apr-04 12:53
protectorChristian Graus21-Apr-04 12:53 
Generalquestion about DWORD Pin
Ryan McDermott21-Apr-04 12:00
Ryan McDermott21-Apr-04 12:00 
GeneralRe: question about DWORD Pin
toxcct21-Apr-04 12:06
toxcct21-Apr-04 12:06 
GeneralRe: question about DWORD Pin
toxcct21-Apr-04 12:10
toxcct21-Apr-04 12:10 
GeneralRe: question about DWORD Pin
Tim Smith21-Apr-04 15:46
Tim Smith21-Apr-04 15:46 
QuestionHow to deploy VC++ .NET debug symbols? Pin
ICantChangeMyAcct21-Apr-04 11:35
ICantChangeMyAcct21-Apr-04 11:35 
Generalimport funcs name Pin
lukhas21-Apr-04 11:32
lukhas21-Apr-04 11:32 
GeneralParsing.. Pin
Laing,James21-Apr-04 10:50
Laing,James21-Apr-04 10:50 

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.