Click here to Skip to main content
15,880,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Checking if a window is minimized Pin
David Crow12-Jul-06 7:38
David Crow12-Jul-06 7:38 
GeneralRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 8:50
slippnslide12-Jul-06 8:50 
GeneralRe: Checking if a window is minimized Pin
David Crow12-Jul-06 9:00
David Crow12-Jul-06 9:00 
GeneralRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 9:10
slippnslide12-Jul-06 9:10 
QuestionRe: Checking if a window is minimized Pin
David Crow12-Jul-06 10:01
David Crow12-Jul-06 10:01 
AnswerRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 10:05
slippnslide12-Jul-06 10:05 
GeneralRe: Checking if a window is minimized Pin
David Crow12-Jul-06 10:29
David Crow12-Jul-06 10:29 
GeneralRe: Checking if a window is minimized Pin
slippnslide12-Jul-06 11:16
slippnslide12-Jul-06 11:16 
The debugger doesn't seem to want to work. I might have to try a different IDE and see if it will make the compiler build the file with debugging info. When trying to get the debugger to work, this warning started to come up and it is now coming up all the time when I build my project.

<quote>Project : Win32 Application
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Documents and Settings\John\Desktop\derp\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.cpp
main.cpp: In function `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)':
main.cpp:57: warning: passing NULL used for non-pointer converting 1 of `HWND__* CreateWindowExA(DWORD, const CHAR*, const CHAR*, DWORD, int, int, int, int, HWND__*, HMENU__*, HINSTANCE__*, void*)'
Compiling: Win32GUI.rc
Linking executable: C:\Documents and Settings\John\Desktop\derp\Win32GUI.exe
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 1 warnings

This is the code it is pointing to:
hWnd = CreateWindowEx(NULL,<br />
                      "WindowClass1",    // name of the window class<br />
                      "Our First Windowed Program",   // title of the window<br />
                      WS_OVERLAPPEDWINDOW,    // window style<br />
                      300,    // x-position of the window<br />
                      300,    // y-position of the window<br />
                      500,    // width of the window<br />
                      400,    // height of the window<br />
                      NULL,    // we have no parent window, NULL<br />
                      NULL,    // we aren't using menus, NULL<br />
                      hInstance,    // application handle<br />
                      NULL);    // used with multiple windows, NULL

The last NULL in the list is the line the compiler points to. Could this warning have an affect on the program not detecting when I click the icon?
GeneralRe: Checking if a window is minimized Pin
David Crow13-Jul-06 2:31
David Crow13-Jul-06 2:31 
QuestionCLSID..error [modified] urgent pls Pin
RockyJames12-Jul-06 7:26
RockyJames12-Jul-06 7:26 
AnswerRe: CLSID..error [modified] urgent pls Pin
David Crow12-Jul-06 7:37
David Crow12-Jul-06 7:37 
GeneralRe: CLSID..error [modified] urgent pls Pin
RockyJames12-Jul-06 7:39
RockyJames12-Jul-06 7:39 
AnswerRe: CLSID..error [modified] urgent pls [modified] Pin
Neil Van Eps12-Jul-06 8:10
Neil Van Eps12-Jul-06 8:10 
GeneralRe: CLSID..error [modified] urgent pls Pin
RockyJames12-Jul-06 8:17
RockyJames12-Jul-06 8:17 
AnswerRe: CLSID..error [modified] urgent pls Pin
Stephen Hewitt12-Jul-06 13:39
Stephen Hewitt12-Jul-06 13:39 
GeneralRe: CLSID..error [modified] urgent pls Pin
Malli_S12-Jul-06 18:58
Malli_S12-Jul-06 18:58 
GeneralRe: CLSID..error [modified] urgent pls Pin
Stephen Hewitt12-Jul-06 19:04
Stephen Hewitt12-Jul-06 19:04 
Questionabout menu Pin
HOW WHAT12-Jul-06 5:56
HOW WHAT12-Jul-06 5:56 
QuestionRe: about menu Pin
David Crow12-Jul-06 6:35
David Crow12-Jul-06 6:35 
AnswerRe: about menu Pin
valikac12-Jul-06 6:51
valikac12-Jul-06 6:51 
AnswerRe: com basics Pin
RChin12-Jul-06 6:05
RChin12-Jul-06 6:05 
QuestionWriting plug-ins for media player Pin
dSolariuM12-Jul-06 5:31
dSolariuM12-Jul-06 5:31 
Questionwhat is equivelent of Inet1.OpenURL in visual c++ 6 Pin
method00712-Jul-06 5:22
method00712-Jul-06 5:22 
AnswerRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
David Crow12-Jul-06 5:31
David Crow12-Jul-06 5:31 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
method00712-Jul-06 6:04
method00712-Jul-06 6:04 

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.