Click here to Skip to main content
15,911,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: C++ Pin
norish13-May-10 19:11
norish13-May-10 19:11 
AnswerRe: C++ Pin
CPallini13-May-10 20:48
mveCPallini13-May-10 20:48 
AnswerRe: C++ Pin
Richard MacCutchan13-May-10 23:13
mveRichard MacCutchan13-May-10 23:13 
QuestionIn Visual Studio 2008 I try to Go To Dialog and get "The operation could not be completed. Access is denied." Pin
ara206013-May-10 15:21
ara206013-May-10 15:21 
AnswerRe: In Visual Studio 2008 I try to Go To Dialog and get "The operation could not be completed. Access is denied." Pin
ForNow13-May-10 16:12
ForNow13-May-10 16:12 
GeneralRe: In Visual Studio 2008 I try to Go To Dialog and get "The operation could not be completed. Access is denied." Pin
ara206013-May-10 16:19
ara206013-May-10 16:19 
AnswerRe: In Visual Studio 2008 I try to Go To Dialog and get "The operation could not be completed. Access is denied." Pin
bolivar12314-May-10 2:48
bolivar12314-May-10 2:48 
GeneralRe: In Visual Studio 2008 I try to Go To Dialog and get "The operation could not be completed. Access is denied." Pin
ara206014-May-10 14:42
ara206014-May-10 14:42 
QuestionVIsual Studio Debugger Yellow arrow cursor/control ??? Pin
ForNow13-May-10 14:45
ForNow13-May-10 14:45 
AnswerRe: VIsual Studio Debugger Yellow arrow cursor/control ??? Pin
hdxu13-May-10 16:21
hdxu13-May-10 16:21 
AnswerRe: VIsual Studio Debugger Yellow arrow cursor/control ??? Pin
hdxu13-May-10 16:28
hdxu13-May-10 16:28 
GeneralRe: VIsual Studio Debugger Yellow arrow cursor/control ??? Pin
ForNow13-May-10 16:34
ForNow13-May-10 16:34 
GeneralRe: VIsual Studio Debugger Yellow arrow cursor/control ??? Pin
Madhu Nair13-May-10 19:02
Madhu Nair13-May-10 19:02 
GeneralRe: VIsual Studio Debugger Yellow arrow cursor/control ??? Pin
ForNow13-May-10 20:17
ForNow13-May-10 20:17 
QuestionWindow Resizing!? / Win32 Pin
Fareed Rizkalla13-May-10 12:42
Fareed Rizkalla13-May-10 12:42 
AnswerRe: Window Resizing!? / Win32 Pin
Stephen Hewitt13-May-10 14:01
Stephen Hewitt13-May-10 14:01 
GeneralRe: Window Resizing!? / Win32 Pin
Fareed Rizkalla13-May-10 15:45
Fareed Rizkalla13-May-10 15:45 
GeneralRe: Window Resizing!? / Win32 Pin
Stephen Hewitt13-May-10 15:51
Stephen Hewitt13-May-10 15:51 
GeneralRe: Window Resizing!? / Win32 Pin
Fareed Rizkalla13-May-10 16:09
Fareed Rizkalla13-May-10 16:09 
AnswerRe: Window Resizing!? / Win32 Pin
Stephen Hewitt13-May-10 16:54
Stephen Hewitt13-May-10 16:54 
AnswerRe: Window Resizing!? / Win32 Pin
norish13-May-10 19:45
norish13-May-10 19:45 
I suggest a general logging technique like below;
case WM_CREATE[
{
    RECT rect;
    GetWindowRect(hWnd, &rect);
    write_log("WM_CREATE: %d, %d, %d, %d\n",
        rect.left, rect.top, rect.right, rect.bottom);
    ... other codes ...
    return 0;
}
case WM_SIZE:
{
    write_log("WM_SIZE: %d, %d, %d, %d\n", 
        WCA.left, WCA.top, WCA.right, WCA.bottom);
    return 0;
}
break;
case WM_MOVE:
{
    write_log("WM_MOVE: %d, %d\n",
        LOWORD(lParam), HIWORD(lParam));
    return 0;
}

write_log() maybe like this;
void __cdecl write_log(const char* format, ...)
{
    va_list(args);
    va_start(args, format);
    FILE* fp = fopen("trace.log", "a");
    vfprintf(fp, format, args);
    fclose(fp);
}

You might be able to catch the point with the log file.
AnswerRe: Window Resizing!? / Win32 Pin
David Crow14-May-10 8:12
David Crow14-May-10 8:12 
QuestionAsyncrhonous Multiple Processes [modified] Pin
Orion Star13-May-10 10:27
Orion Star13-May-10 10:27 
AnswerRe: Asyncrhonous Multiple Processes Pin
Stephen Hewitt13-May-10 14:08
Stephen Hewitt13-May-10 14:08 
GeneralRe: Asyncrhonous Multiple Processes Pin
Orion Star13-May-10 15:37
Orion Star13-May-10 15:37 

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.