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

Search:

Type: Posts; User: Igor Vartanov

Page 1 of 80 1 2 3 4

Search: Search took 0.22 seconds.

  1. Re: how get the keyboard messages, when the window loses the focus?

    And? Admin mode app is running in a separate session, of course your hook won't work across session bounds. Hooks are running limited by current session desktop.

    If you want a guaranteed key...
  2. Re: How to tell if Windows partition is active?

    IOCTL_DISK_GET_PARTITION_INFO_EX looks like what you need.
  3. Re: how get the keyboard messages, when the window loses the focus?

    As we finally found out, you don't need no dll, so your hook proc is executed directly in your process. Having that, you can make the window handle just be a global variable, or static member of your...
  4. Re: how get the keyboard messages, when the window loses the focus?

    You neglect reading documentation carefully. In low level hook proc lparam is a pointer to KBDLLHOOKSTRUCT.
  5. Re: how get the keyboard messages, when the window loses the focus?

    You understood it wrong, in this particular case. I wrote it twice, and put it the third time: Low Level Keyboard Hook. Is it so difficult to find it in MSDN?
  6. Replies
    23
    Views
    663

    Re: how can i subclass a menu?

    Sorry, but you really have to work on your skills in explaining your intentions, and this hardly has anything to do with your English. Just forget for a moment about all that mess you've piled here,...
  7. Re: how get the keyboard messages, when the window loses the focus?

    Once again, there's no need in dll, shared memory and the stuff. All you need is low-level keyboard hook.

    PS. I don't believe that to be heard I have to post a sample code.
  8. Re: how get the keyboard messages, when the window loses the focus?

    I would add that having low level keyboard hook seems enough for the task, and WH_KEYBOARD_LL is not obliged to be global, which means dll is not necessary.
  9. Replies
    23
    Views
    663

    Re: how can i subclass a menu?

    It's not much entertaining to see how you do something without telling us about your ultimate goal. :)

    First you talked about subclassing menu window, now you demonstrate some weird manipulations...
  10. Re: Getting Free Disk Space of certain directory

    Besides quota there might be another sort of limit, not that obvious one. In case the directory is a symlink pointing to a directory hosted on other physical drive, the real directory limit is the...
  11. Re: Getting Free Disk Space of certain directory

    There's such a thing called quota. Physical disk free space is a physical limit, but user's quota is a virtual one.
  12. Re: Unable to pass arguments to DLL function

    According to the attached sample there's no issue with doubles passed to dll.
  13. Replies
    23
    Views
    663

    Re: how can i subclass a menu?

    What I could advise is just to stop fumbling with it.

    The reasons are quite simple. There is no public API in Windows for direct manipulations with menu windows. Which leads to making no sense in...
  14. Replies
    19
    Views
    975

    Re: XML Parsing

    This is what your code writes:


    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE root>
    <?xml-stylesheet href="mystyle.css" title="Compact" type="text/css"?>
    <root>
    <sub myAttr="1234">Markup...
  15. Re: Read particular record in a table quickly using VC++ from MYSQL

    CRecordset recset( &database );
    SqlString = "SELECT PNAME FROM PROFILEMASTER WHERE PID =1";
    recset.Open(CRecordset::forwardOnly,SqlString,CRecordset::readOnly);

    if ( !recset.IsEOF() )
    {
    ...
  16. Re: Run-Time Check Failure #3 - The variable is being used without being initialized

    Your main() design implies the x value is passed to func(), and it's passed uninitialized indeed. Compiler is not obliged to take into consideration the fact that your func() really makes no sense...
  17. Re: ATL COM DLL - include an object from another ATL COM DLL

    You're always welcome. :)
  18. Re: ATL COM DLL - include an object from another ATL COM DLL

    Not sure why would you. There's the other project that implements your design, and it's perfectly able to do with firstLib::IMember.
  19. Re: ATL COM DLL - include an object from another ATL COM DLL

    As I said before, it's hard to understand what exactly you're trying to accomplish. You need to explain your idea in terms of COM, i.e. coclasses, interfaces, properties, etc. What is FirstMember?...
  20. Re: ATL COM DLL - include an object from another ATL COM DLL

    Sample VS2010 solution attached. It demonstrates what we discussed here, i.e. using some activex interface inside another one.
  21. Re: ATL COM DLL - include an object from another ATL COM DLL

    This is not completely clear what you're trying to accomplish, but my current understanding is that your intention is just to make use of the other ActiveX inside yours. In such case what you just...
  22. Replies
    3
    Views
    212

    Re: Combobox with bitmaps or icons

    You need to have an image list filled in with the bitmaps. Then you need to add the imagelist to comboboxex control, and set each item with specific image index in the list.
  23. Re: [RESOLVED] Get active url in Google Chrome from v.29 with IAccessible

    Maybe this is not what you think it is. The approach gives you an ability to subscribe to events from Chrome, but not to directly get the URL of already opened web page.
  24. Re: Get active url in Google Chrome from v.29 with IAccessible

    Well, the program is expected to work in background until you press any key, this is what "Press any key to leave" informs you about. :)

    If you want to see any events from Chrome, you need to...
  25. Re: Get active url in Google Chrome from v.29 with IAccessible

    The approach works just fine, see the attached sample. However, there are lots of (null) lines produced when you refuse to filter by "Address and search bar".



    J:\Temp\58>58.exe all
    Catching...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center