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

Search:

Type: Posts; User: igbrus

Page 1 of 80 1 2 3 4

Search: Search took 0.37 seconds.

  1. Thread: Icons

    by igbrus
    Replies
    7
    Views
    986

    Re: Icons

    Having RC in different DLLs you should use AfxGet/SetResourceHandle or
    AFX_MANAGE_STATE ( AfxGetStaticModuleState() ); depending from type of DLL
  2. Replies
    6
    Views
    3,281

    1. Yes 2. No

    1. Yes
    2. No
  3. Replies
    6
    Views
    3,281

    In this case you should enumerate all shared...

    In this case you should enumerate all shared folders and map them one by one. BTW I don't think you will succeed with ftp server
  4. Replies
    9
    Views
    1,424

    Because console output( as well as other file...

    Because console output( as well as other file output ) is buffered
  5. Replies
    9
    Views
    1,424

    I assume that you output job results upon...

    I assume that you output job results upon finishing job.
    Try to use fflush(NULL) for child process at the end of job
  6. Replies
    9
    Views
    1,424

    1. PeekNamedPipe is applicable to anonymous pipe...

    1. PeekNamedPipe is applicable to anonymous pipe as well
    2. Probably the problem is your child process
  7. Replies
    9
    Views
    1,424

    Now MSDN offers better code under the title ...

    Now MSDN offers better code under the title

    "Creating a Child Process with Redirected Input and Output"

    Usage PeekNamedPipe could help as well
  8. You are absolutely right, but in this case you...

    You are absolutely right, but in this case you will have to provide your own UI
  9. Replies
    5
    Views
    1,965

    I don't understand you. Could you show your code?

    I don't understand you. Could you show your code?
  10. Replies
    5
    Views
    1,965

    I don't think that UPDATE_UI works for dialogs....

    I don't think that UPDATE_UI works for dialogs. You should do it explicitly by yourself
  11. Replies
    7
    Views
    1,854

    Yes, try EnumThreadWindows

    Yes, try EnumThreadWindows
  12. Replies
    7
    Views
    1,854

    ShowWindow does work. I guess yours FindWindow...

    ShowWindow does work. I guess yours FindWindow doesn't work properly
  13. Replies
    2
    Views
    727

    GetParent()->GetDltItem(IDOK)->)->EnableWindow(FAL...

    GetParent()->GetDltItem(IDOK)->)->EnableWindow(FALSE);
  14. Thread: NT/XP username

    by igbrus
    Replies
    3
    Views
    757

    What about GetUserName

    What about GetUserName
  15. Replies
    2
    Views
    716

    Use CreateDC

    Use CreateDC
  16. Replies
    1
    Views
    1,080

    #include

    #include <afxdao.h>
  17. Replies
    5
    Views
    1,442

    Exactly as for internal resources. Add #include...

    Exactly as for internal resources. Add
    #include "DLLresource.h"
    and, for example

    CString str;
    str.LoadString(IDS_MESSAGE), where IDS_MESSAGE is ID of string resource from DLL
  18. Replies
    1
    Views
    769

    CLog c; char str[200]={0}; HANDLE hMutex =...

    CLog c;
    char str[200]={0};
    HANDLE hMutex = CreateMutex(NULL, FALSE, "MyProtectedErrorHandling");
    for(int i=0; i < 18000; i++){
    sprintf(str, "Line:%d Message:Inside the loop, Handle:0x%x", i,...
  19. Override OnCloseDocument( ); for your document...

    Override OnCloseDocument( ); for your document class
  20. Thread: SHFileOperation

    by igbrus
    Replies
    1
    Views
    891

    I guess that strSource or strTarget or both of...

    I guess that strSource or strTarget or both of them are incorrect
  21. Replies
    2
    Views
    858

    For subitems use LVIF_STATE and...

    For subitems use LVIF_STATE and LVIS_STATEIMAGEMASK mask

    state
    Indicates the item's state, state image, and overlay image. The stateMask member indicates the valid bits of this member.
    Bits 0...
  22. Replies
    5
    Views
    2,783

    Yes, You are right. Actually I understood what...

    Yes, You are right. Actually I understood what is the problem. You should try to specify WS_CHILD instead of WS_POPUP. Otherwise your window isn't considered as child
  23. Replies
    5
    Views
    2,783

    1. You use wrong version of CreateEx. Use BOOL...

    1. You use wrong version of CreateEx. Use
    BOOL CreateEx(DWORD dwExStyle, LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, LPVOID lpParam =...
  24. Replies
    1
    Views
    1,726

    Because in order to process SendMessage or...

    Because in order to process SendMessage or GetWindowText which involves SendMessage, thread should get to it's message loop. If thread is busy by some other processing, you should wait. I guess you...
  25. Replies
    3
    Views
    751

    Sure you could. Just take care that you deal with...

    Sure you could. Just take care that you deal with the same hDC
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured