Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I convert to TIFF file format? Pin
Cris13-Jul-06 2:00
Cris13-Jul-06 2:00 
GeneralRe: How can I convert to TIFF file format? Pin
Joe Woodbury13-Jul-06 8:19
professionalJoe Woodbury13-Jul-06 8:19 
AnswerRe: How can I convert to TIFF file format? Pin
earl12-Jul-06 12:42
earl12-Jul-06 12:42 
GeneralRe: How can I convert to TIFF file format? Pin
Cris13-Jul-06 1:45
Cris13-Jul-06 1:45 
GeneralRe: How can I convert to TIFF file format? Pin
earl13-Jul-06 5:12
earl13-Jul-06 5:12 
QuestionPlease,help me with jar-files in java Pin
beganovic_swe12-Jul-06 9:37
beganovic_swe12-Jul-06 9:37 
AnswerRe: Please,help me with jar-files in java Pin
Christian Graus12-Jul-06 9:43
protectorChristian Graus12-Jul-06 9:43 
GeneralRe: Please,help me with jar-files in java Pin
led mike12-Jul-06 9:49
led mike12-Jul-06 9:49 
GeneralRe: Please,help me with jar-files in java Pin
beganovic_swe12-Jul-06 22:33
beganovic_swe12-Jul-06 22:33 
QuestionCrash in MFC extension DLL [modified] Pin
act_x12-Jul-06 8:23
act_x12-Jul-06 8:23 
AnswerRe: Crash in MFC extension DLL Pin
led mike12-Jul-06 9:14
led mike12-Jul-06 9:14 
QuestionInvoke Self-Registration of an ActiveX Pin
Christopher Stratmann12-Jul-06 8:11
Christopher Stratmann12-Jul-06 8:11 
QuestionRe: Invoke Self-Registration of an ActiveX Pin
David Crow12-Jul-06 9:05
David Crow12-Jul-06 9:05 
GeneralRe: Invoke Self-Registration of an ActiveX Pin
Christopher Stratmann12-Jul-06 9:55
Christopher Stratmann12-Jul-06 9:55 
AnswerRe: Invoke Self-Registration of an ActiveX Pin
Eric Dahlvang12-Jul-06 11:34
Eric Dahlvang12-Jul-06 11:34 
QuestionChecking if a window is minimized Pin
slippnslide12-Jul-06 7:35
slippnslide12-Jul-06 7:35 
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 

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.