CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: thomas_nibu

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    17,357

    Re: prevent server busy, switch to retry?

    I can't find any App object. Are you talking about CWinApp. I can't find any such method there. Or are you talking about VB.
  2. Replies
    1
    Views
    755

    Re: mdi child form manipulation

    Have you tried CSplitterWnd.
  3. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    :lol:
  4. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    Skizmo,

    He said that he want's the number. Not a formatted one.
  5. Replies
    38
    Views
    5,662

    Re: Access violation

    I think it's got something to do with not initializing variables properly. Can you step through your code and find out. Set a break point inside OnDraw and find out what's the trouble.
  6. Replies
    14
    Views
    9,040

    Re: convert time_t to CString

    Since time_t is an unsigned int you can use CString member function Format for converting it.

    For eg:

    CString csTimeConv;
    csTimeConv.Format( _T( "%u", tYour_time_t );
  7. Replies
    1
    Views
    3,559

    Re: WM_NCCALCSIZE and WM_PAINT issue

    Any body who can help
  8. Replies
    1
    Views
    3,559

    WM_NCCALCSIZE and WM_PAINT issue

    I am creating a custom control.

    Well the first one is about WM_NCCALCSIZE: It doesn't get called.

    I used SetWindowPos in WM_NCPAINT but this looks scratchy. Now background doesn't get...
  9. Replies
    12
    Views
    1,513

    Re: detecting drag-drop from explorer

    You've got to use Hooks.

    SetWindowsHookEx(...) will help you a lot.
  10. Replies
    3
    Views
    703

    Re: Working with registry functions

    Modify the above to this...

    RegCreateKeyEx (HKEY_CURRENT_USER, Path, 0, NULL, 0, KEY_SET_VALUE, NULL, &hKey, lpdwDisp)

    Take a look in MSDN for further details...
  11. Replies
    5
    Views
    1,064

    Re: Dialog Flickers

    Adding these styles could also help you...

    WS_CLIPSIBLINGS, WS_CLIPCHILDREN.
  12. Replies
    5
    Views
    1,064

    Re: Dialog Flickers

    What is this picture box in your application. Is it a CWnd object. If it is then do handle WM_ERASEBKGND for this particular picture box too.
  13. Re: MFC : Make a bitmap with a transparant color

    You can search Code project or Code guru to find out.

    www.codeproject.com
  14. Re: MFC : Make a bitmap with a transparant color

    There is already a TransparentBlt function.
  15. Replies
    3
    Views
    722

    Re: displaying bitmap

    pDC->BitBlt(50, 50, bm.bmWidth, bm.bmHeight, &memDC, 0, 0, SRCCOPY);
  16. Replies
    1
    Views
    554

    Re: MFC Appwizard Question

    AFAIK no way out buddy. You are in for it.
  17. Replies
    5
    Views
    1,237

    Re: Menu Item Height

    This means you are not handling measure item properly. That's the only cause.
  18. Replies
    3
    Views
    1,404

    Re: Legacy BC5 resource files in VS 2005

    Try ##
  19. Replies
    5
    Views
    1,237

    Re: Menu Item Height

    What do you mean by this...
  20. Replies
    4
    Views
    748

    Re: Weird Flow of application

    Can you post the code.
  21. Replies
    26
    Views
    3,311

    Re: set bitmap as background wallpaper

    You can type in of course.

    ON_WM_ERASEBKGND

    BOOL CMyDlg::OnEraseBkgnd(CDC* pDC)
    {
    CRect rc;
    GetClientRect(&rc);
    pDC->FillSolidRect(rc, RGB(255,120,100));
    return TRUE;
  22. Replies
    9
    Views
    3,411

    Re: windows message question

    Did you provide a handler for catching WM_RBUTTONDOWN
  23. Replies
    26
    Views
    3,311

    Re: set bitmap as background wallpaper

    You are wrong.
  24. Replies
    2
    Views
    626

    Re: Link Errors When Preprocessor is Used

    No _XX_ is not defined if it was it would have compiled. You are doing something wrong.
  25. Replies
    9
    Views
    3,411

    Re: windows message question

    WM_RBUTTONDOWN causes WM_CONTEXTMENU to be fired. So in spy++ you will see WM_RBUTTONDOWN first and WM_CONTEXTMENU below it.
Results 1 to 25 of 37
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured