Click here to Skip to main content
15,909,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
(Sorry about my earlier answer, my brain was still asleep from lunch)
You should still use spy++ though.

BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam )
{
    TCHAR szText[MAX_PATH] = {0};
    if ( !GetClassName(hwnd, szText, MAX_PATH - 1) )
        return TRUE; // Continue

    if ( _tcsicmp(szText, TEXT("SciCalc")) == 0 )
    {
        MessageBox(0, "Calc is running", "Test", 0);
        return FALSE; // Stop
    }
    return TRUE; // Continue
}

void look_for_calc() 
{
    EnumWindows(EnumWindowsProc, 0);

}


---

"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
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 
GeneralRe: Parsing.. Pin
Anthony_Yio21-Apr-04 16:06
Anthony_Yio21-Apr-04 16:06 
GeneralRe: Parsing.. Pin
Laing,James23-Apr-04 13:31
Laing,James23-Apr-04 13:31 
GeneralSize of Object in Serialization Pin
Peter Krankl21-Apr-04 10:46
sussPeter Krankl21-Apr-04 10:46 

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.