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

Search:

Type: Posts; User: mesajflaviu

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Knowing when a web page has been opened or close

    Not a bad idea, but the browser can have already has opened tabs, and when I open a new tab from my app, or when user close the tab which has been open within my app, EnumWindows doesn't help me ...
  2. Re: Knowing when a web page has been opened or close

    Sorry, I thought aloud. I guess is not a good idea.
  3. Re: Knowing when a web page has been opened or close

    I was thinking to trace the history folder for default browser. But I guess this is not the easy thing ... how can I identify this folder ?
  4. Re: Knowing when a web page has been opened or close

    Yes, a part of app job is hosted on a foreign site, as you said, google.com. I'll try to host this web page as part of my app. Thank you.
  5. Re: Knowing when a web page has been opened or close

    Because a part of application job is made it online, in a web page.
  6. Re: Knowing when a web page has been opened or close

    From a button is starting a web page in default browser.
  7. Knowing when a web page has been opened or closed

    Is there any way to know for sure when a web page (let say www.test.com) has been opened, and when this page has been closed ? I need this feature for a VC++/MFC project.
  8. Replies
    5
    Views
    696

    Re: MSDN documentation unclear ?

    Yes, that's right, look very promising that post ... thank you !
  9. Replies
    5
    Views
    696

    Re: MSDN documentation unclear ?

    In the end, I intend to read even the deleted files/directory, and FindFirst/FindNext doesn't have such feature, as far as I know.
  10. Replies
    5
    Views
    696

    MSDN documentation unclear ?

    I am trying to read directories from an EXFAT USB drive. And for this task, I have found here a good documentation: https://docs.microsoft.com/en-us/windows/win32/fileio/exfat-specification

    But...
  11. Replies
    4
    Views
    561

    Re: Find device partition type

    All solution proposed by you are working well ! I've used the simplest one: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getvolumeinformationa

    Thank you all !
  12. Replies
    4
    Views
    561

    [RESOLVED] Find device partition type

    Is there any way to know what type is a HDD device ? I need to test if a HDD partition has a specific type: NTFS, or FAT32 or EXFAT.

    From my researches I read that there is a structure that can be...
  13. Re: Restrict CDockablePane to CBRS_ALIGN_LEFT or CBRS_ALIGN_RIGHT

    For those who have the same problem, I overridden DockPane method in order to solve my issue. Thank you for your support and your time.
  14. Re: Restrict CDockablePane to CBRS_ALIGN_LEFT or CBRS_ALIGN_RIGHT

    As long while I am in dragging state (floating) and I see the arrows for top and bottom direction, I can (and I succeed) to dock the panel in top or bottom position.
  15. Re: Restrict CDockablePane to CBRS_ALIGN_LEFT or CBRS_ALIGN_RIGHT

    I see, but then what is the point with those settings ? EnableDocking(CBRS_ALIGN_LEFT | CBRS_ALIGN_RIGHT)
  16. Restrict CDockablePane to CBRS_ALIGN_LEFT or CBRS_ALIGN_RIGHT

    I need to restrict a panel, derived from CDockablePane to be float only on the left or right side. But seem that it can be float anywhere, top and bottom as well. And this CDockablePane is part of a...
  17. Replies
    2
    Views
    548

    Re: Multi-threaded Debug

    Yes, it solved my problem :) Thank you Victor !!

    P.S. Of course, I have seek myself for a solution, and I applied what I've found, but none of them had worked.
  18. Replies
    2
    Views
    548

    Multi-threaded Debug (solved)

    I have a SDI MFC test app. I setup this project as /MTd. Compiled and tested, everything is ok. And I included a external library, which is compiled as /MTd. I generated again the settings of the...
  19. Replies
    19
    Views
    1,371

    Re: Stop a thread

    Thank you Victor for your summarize and synthetize the thread work. Now I am seek to solve "every worker thread just before its exit posts the user defined message to the main thread window notifying...
  20. Replies
    19
    Views
    1,371

    Re: Stop a thread

    The point is that function is working well as long I got no ML when I let thread to terminate by itself.
  21. Replies
    19
    Views
    1,371

    Re: Stop a thread

    some_function_that_takes_long_time is a function inside a C library ... I have the source code, but inside is a long string of C functions that read some specific files on HDD device. In his reading...
  22. Replies
    19
    Views
    1,371

    Re: Stop a thread

    No, has no option to be cancelled ... I guess that putting a WaitForSingleObject after his call will solve ML issue ... is a step forward ...
  23. Replies
    19
    Views
    1,371

    Re: Stop a thread

    That function read specific file on HDD drive. Its name: GetFileAvailability(...)
  24. Replies
    19
    Views
    1,371

    Re: Stop a thread

    The fact is that some_function_that_takes_long_time function is a simple call into a C library which is not mine ... I don't know what option do I have ...
  25. Replies
    19
    Views
    1,371

    Re: Stop a thread

    "worker threads have periodically wait for this event" this one I don't know how to implement it ... because that code from the thread is in fact a simple call:


    UINT CMyDoc::ReadThread(LPVOID...
Results 1 to 25 of 348
Page 1 of 14 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)