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

Search:

Type: Posts; User: Emi

Page 1 of 80 1 2 3 4

Search: Search took 0.86 seconds.

  1. Replies
    1
    Views
    1,267

    Hi, I'm not sure what you want to do but take...

    Hi,

    I'm not sure what you want to do but take a look at CurrentCell Property as well.
  2. Replies
    2
    Views
    2,289

    Hi, You can disable this warning using #if...

    Hi,

    You can disable this warning using

    #if (__midl >= 501)
    midl_pragma warning( disable: 2362 )
    #endifLook in MSDN at Q241849
  3. Replies
    17
    Views
    1,712

    http://msdn.microsoft.com/archive/default.asp?url=...

    http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarvc/html/msdn_mfcfaq50.asp
    Look for How do I get a list of open documents?
  4. Replies
    3
    Views
    1,581

    Hi, Look at WM_GETMINMAXINFO.

    Hi,

    Look at WM_GETMINMAXINFO.
  5. Replies
    4
    Views
    1,003

    Hi, Start with:...

    Hi,

    Start with: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/avicap_3bfs.asp
  6. Thread: Read file names

    by Emi
    Replies
    7
    Views
    1,297

    Use recursive methods/functions. Look at this...

    Use recursive methods/functions.
    Look at this sample
    http://www.codeguru.com/forum/showthread.php?s=&threadid=227926
  7. Replies
    2
    Views
    1,034

    keybd_event(VK_NUMLOCK, 0x45,...

    keybd_event(VK_NUMLOCK, 0x45, KEYEVENTF_EXTENDEDKEY | 0, 0 );
    keybd_event(VK_NUMLOCK, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0);

    short s = GetKeyState(VK_NUMLOCK);
    if ((s & 1))...
  8. Replies
    3
    Views
    986

    Hi, Try using memory DCs.

    Hi,

    Try using memory DCs.
  9. Replies
    2
    Views
    8,780

    Hi, 12010 ...

    Hi,



    12010 ERROR_INTERNET_BAD_OPTION_LENGTH
    The length of an option supplied to InternetQueryOption
    or InternetSetOption is incorrect for the type of option specified.
    Check...
  10. Replies
    4
    Views
    812

    If you have a pointer to the main wnd in your...

    If you have a pointer to the main wnd in your dialog then call invalidate in OnOK (pMainWnd->InvalidateRect(...)). Otherwise call invalidate for the main wnd after DoModal is finished.
  11. Thread: Read file names

    by Emi
    Replies
    7
    Views
    1,297

    Did you look at the link I send? There is a...

    Did you look at the link I send? There is a sample for how to use FindFirstFile, FindNextFile.
  12. You're welcome!

    You're welcome!
  13. Hi, Look at WM_COPYDATA in MSDN. Also at...

    Hi,

    Look at WM_COPYDATA in MSDN. Also at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/datacopy/usingdatacopy.asp
  14. Replies
    4
    Views
    812

    Hi, After closing the dialog try to invalidate...

    Hi,

    After closing the dialog try to invalidate the main window. Look at CWnd::InvalidateRect or SDK
    BOOL InvalidateRect(
    HWND hWnd, // handle to window
    CONST RECT* lpRect, //...
  15. Replies
    3
    Views
    917

    Hi, Try using CreateProcess and set...

    Hi,

    Try using CreateProcess and set STARTUPINFO member wShowWindow to SW_HIDE.

    See

    BOOL CreateProcess(
    LPCTSTR lpApplicationName, // name of executable module
    LPTSTR...
  16. Thread: Read file names

    by Emi
    Replies
    7
    Views
    1,297

    Hi, Start looking at...

    Hi,

    Start looking at
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/retrieving_and_changing_file_attributes.asp
    For a class who deals with file in MFC look at...
  17. Replies
    3
    Views
    1,096

    Maybe because you forgot to move the cursor... ...

    Maybe because you forgot to move the cursor...


    //res is a CRecordset * that is at the first row//

    //get the field by name//
    CString sSourceField = "SOMEFIELD";
    CString sSourceValue;...
  18. Thread: HtmlHelp events

    by Emi
    Replies
    1
    Views
    733

    Hi, Look @...

    Hi,

    Look @ http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B241218
  19. Replies
    3
    Views
    1,303

    Hi Sam, I don't know if you already took an...

    Hi Sam,

    I don't know if you already took an eye at http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q190961
  20. Replies
    4
    Views
    2,044

    Hi Usman, Look at COLORREF...

    Hi Usman,

    Look at


    COLORREF TreeView_SetBkColor(
    HWND hwndTV
    COLORREF clrBk;
    );
  21. Replies
    3
    Views
    780

    Use CString::Format. See in MSDN for details.

    Use CString::Format. See in MSDN for details.
  22. Thread: modal dlg

    by Emi
    Replies
    4
    Views
    1,139

    Hi, Look at int GetWindowText( HWND...

    Hi,

    Look at

    int GetWindowText(
    HWND hWnd, // handle to window or control
    LPTSTR lpString, // text buffer
    int nMaxCount // maximum number of characters to copy
    );
  23. Thread: directory browse

    by Emi
    Replies
    4
    Views
    810

    Hi, BOOL GetOpenFileName( ...

    Hi,



    BOOL GetOpenFileName(
    LPOPENFILENAME lpofn // initialization data
    );
    Look in MSDN for details.
  24. Thread: Memory Usage

    by Emi
    Replies
    1
    Views
    681

    Hi, You have several ways to do that. 1. Look...

    Hi,

    You have several ways to do that.
    1. Look at Task Manager and see how much memory your app are using
    2. Use Debug Routines functions. Look in MSDN at

    void _CrtMemCheckpoint(
    ...
  25. Can you specify the error?

    Can you specify the error?
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured